Skip to content

Commit

Permalink
Adjust codecov test coverage targets
Browse files Browse the repository at this point in the history
Change from a relative threshold for success (e.g. +/- 1% compared to
previous commit) to an absolute target (e.g. 70% or better coverage).
  • Loading branch information
djjuhasz committed Apr 29, 2024
1 parent 75ee050 commit eae3871
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
# Validate this file:
# curl --data-binary @codecov.yml https://codecov.io/validate

# Threshold should not be as high once all packages are being tracked.
# curl --data-binary @.codecov.yml https://codecov.io/validate

comment:
behavior: default

coverage:
precision: 2
round: down
range: "25...75"
range: "50...70"
status:
project:
default:
threshold: 1.0%
target: 70%
patch:
default:
threshold: 1.0%
target: 70%

ignore:
- ".github"
Expand Down

0 comments on commit eae3871

Please sign in to comment.