File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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 `
You can’t perform that action at this time.
0 commit comments