Skip to content

Commit 5bddcd0

Browse files
fix: add threshold to codecov project check for expanded coverage scope
Expanding coverage from anoph/ only to the full malariagen_data/ package causes an expected drop in the project coverage percentage because newly measured modules (plasmodium.py, veff.py, util.py, etc.) have lower test coverage. This adds a 10% threshold to the project status check so that the expected one-time drop from the scope expansion does not block the PR. The patch check remains strict (80% target, 0% threshold) to ensure all new/modified code is well tested.
1 parent af1a103 commit 5bddcd0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.codecov.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ coverage:
33
project:
44
default:
55
target: auto
6+
threshold: 10%
67
patch:
78
default:
89
target: 80%

0 commit comments

Comments
 (0)