Skip to content

Commit

Permalink
Allow up to 0.05% drop in code coverage per commit (deephaven#791)
Browse files Browse the repository at this point in the history
- Previously required each change to increase test code coverage, which is unrealistic for a lot of bug fixes
- Change the threshold to 0.05% so bug fixes can go in without needed to increase the threshold, but bigger features should still trigger it
  • Loading branch information
mofojed authored Oct 5, 2022
1 parent 1c55c27 commit 0166acf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
flag_management:
default_rules:
carryforward: true
coverage:
status:
project:
default:
# Allow up to a 0.05% drop in project threshold for codecov
# A lot of bug fixes don't change test coverage, and then codecov fails
threshold: 0.05%

0 comments on commit 0166acf

Please sign in to comment.