Skip to content

Commit 0e6d7e5

Browse files
committed
ci: block merges that drop coverage
Make the codecov project status a failing check (target auto, 0% threshold) instead of informational, so any drop in include/ + src/ coverage fails it. Requires the check to be marked required in branch protection. ci.yml already uploads coverage on every PR.
1 parent 7f2dc8e commit 0e6d7e5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.codecov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ codecov:
1212
after_n_builds: 1
1313
wait_for_ci: yes
1414

15-
# Make coverage checks informational (report but never fail CI)
1615
coverage:
1716
status:
1817
project:
1918
default:
20-
informational: true
19+
target: auto
20+
threshold: 0%
2121
patch:
2222
default:
2323
informational: true

0 commit comments

Comments
 (0)