Skip to content

Commit fbfeca6

Browse files
committed
Ignore patch codecov as long as total coverage is within 1% of base
In some PRs, codecov gets mad that the coverage of the patch itself is lower than the base. In most cases, we largely don't want a Big Red X, at least as long as the total coverage has not gone down substantially.
1 parent 198130e commit fbfeca6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

codecov.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ coverage:
33
project:
44
default:
55
target: auto
6-
threshold: 2%
6+
threshold: 1%
77
base: auto
88
informational: false
9+
patch:
10+
default:
11+
target: auto
12+
threshold: 100%
13+
base: auto

0 commit comments

Comments
 (0)