Skip to content

Commit 60cda54

Browse files
committed
set a 1% theshold for coverage changes
Our tests are somewhat inconsistent in their coverage, so coverage can go down slightly even with unrelated changes. We also have untested code, and small tweaks will often be shown as a reduction in coverage. Setting a 1% threshold will reduce friction on both of these cases. Any larger changes will still require an increase in coverage, so we should still trend upward over time.
1 parent 3a565fe commit 60cda54

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

codecov.yml

+8
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,11 @@ comment:
66
require_base: false # [true :: must have a base report to post]
77
require_head: true # [true :: must have a head report to post]
88
hide_project_coverage: false # [true :: only show coverage on the git diff]
9+
coverage:
10+
status:
11+
patch:
12+
default:
13+
threshold: 1%
14+
project:
15+
default:
16+
threshold: 1%

0 commit comments

Comments
 (0)