Skip to content

Commit

Permalink
Ignore patch codecov as long as total coverage is within 1% of base
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
TheBlueMatt committed Mar 20, 2021
1 parent b89331d commit 67088eb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion codecov.yml
Expand Up @@ -3,6 +3,11 @@ coverage:
project:
default:
target: auto
threshold: 2%
threshold: 1%
base: auto
informational: false
patch:
default:
target: auto
threshold: 100%
base: auto

0 comments on commit 67088eb

Please sign in to comment.