Skip to content

Commit 6d17d47

Browse files
committed
ci(codecov): treat patch coverage as informational
Patch targets only lines changed in a PR; release and formatting diffs often lower that percentage without indicating a regression. Keep upload and project trends; stop patch status from failing checks.
1 parent 1ffa9dc commit 6d17d47

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

codecov.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# https://docs.codecov.com/docs/codecovyaml
2+
coverage:
3+
status:
4+
patch:
5+
default:
6+
# Patch % only measures lines touched in the PR. Release/version
7+
# bumps, rustfmt, and refactors often edit large surface areas
8+
# without new tests; do not fail CI on patch coverage alone.
9+
informational: true

0 commit comments

Comments
 (0)