File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,28 +7,30 @@ codecov:
77
88 require_ci_to_pass : false
99
10- token : 796e466d-bf08-4b98-8d5b-0e9c442aef06 # repo-scoped
10+ token : >- # notsecret # repo-scoped, upload-only, stability in fork PRs
11+ 796e466d-bf08-4b98-8d5b-0e9c442aef06
1112
1213comment :
1314 require_changes : true
1415
1516coverage :
16- range : 97.87 ..100
17+ range : 100 ..100
1718 status :
1819 patch :
19- default :
20+ runtime :
2021 target : 100%
2122 flags :
2223 - pytest
24+ typing :
25+ flags :
26+ - MyPy
2327 project :
24- default :
25- target : 100%
2628 lib :
2729 flags :
2830 - pytest
2931 paths :
3032 - multidict/
31- target : 94.05 %
33+ target : 100 %
3234 tests :
3335 flags :
3436 - pytest
@@ -40,4 +42,7 @@ coverage:
4042 - MyPy
4143 target : 85%
4244
45+ github_checks :
46+ annotations : false
47+
4348...
Original file line number Diff line number Diff line change @@ -133,12 +133,14 @@ Contributor-facing changes
133133- `codecov-action <https://github.com/codecov/codecov-action >`_
134134 has been temporarily downgraded to ``v3 ``
135135 in the GitHub Actions CI/CD workflow definitions
136- in order to fix uploading coverage to
137- `Codecov <https://app.codecov.io/gh/aio-libs/multidict >`_.
136+ in order to fix uploading coverage to Codecov _.
138137 See `this issue <https://github.com/codecov/codecov-action/issues/1252 >`_
139138 for more details.
140139
141140
141+ .. _Codecov : https://codecov.io/gh/aio-libs/multidict?flags[]=pytest
142+
143+
142144 *Related issues and pull requests on GitHub: *
143145 :issue: `941 `.
144146
Original file line number Diff line number Diff line change 1+ The the project-wide Codecov _ metric is no longer reported
2+ via GitHub Checks API. The combined value is not very useful
3+ because one of the sources (MyPy) cannot reach 100% with the
4+ current state of the ecosystem. We may want to reconsider in
5+ the future. Instead, we now have two separate
6+ “runtime coverage” metrics for library code and tests.
7+ They are to be kept at 100% at all times.
8+ And the “type coverage” metric will remain advisory, at a
9+ lower threshold.
10+
11+ The default patch metric check is renamed to “runtime”
12+ to better reflect its semantics. This one will also require
13+ 100% coverage.
14+ Another “typing” patch coverage metric is now reported
15+ alongside it. It's considered advisory, just like its
16+ project counterpart.
17+
18+ When looking at Codecov _, one will likely want to look at
19+ MyPy and pytest flags separately. It is usually best to
20+ avoid looking at the PR pages that sometimes display
21+ combined coverage incorrectly.
22+
23+ The change additionally disables the deprecated GitHub
24+ Annotations integration in Codecov _.
25+
26+ Finally, the badge coloring range now starts at 100%.
27+
28+
29+ .. image :: https://codecov.io/gh/aio-libs/multidict/branch/master/graph/badge.svg?flag=pytest
30+ :target: https://codecov.io/gh/aio-libs/multidict?flags[]=pytest
31+ :alt: Coverage metrics
32+
33+
34+ -- by :user: `webknjaz `
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ multidict
66 :target: https://github.com/aio-libs/multidict/actions
77 :alt: GitHub status for master branch
88
9- .. image :: https://codecov.io/gh/aio-libs/multidict/branch/master/graph/badge.svg
10- :target: https://codecov.io/gh/aio-libs/multidict
9+ .. image :: https://codecov.io/gh/aio-libs/multidict/branch/master/graph/badge.svg?flag=pytest
10+ :target: https://codecov.io/gh/aio-libs/multidict?flags[]=pytest
1111 :alt: Coverage metrics
1212
1313.. image :: https://img.shields.io/pypi/v/multidict.svg
You can’t perform that action at this time.
0 commit comments