From: Matt Corallo Date: Thu, 18 Mar 2021 03:12:47 +0000 (-0400) Subject: Ignore patch codecov as long as total coverage is within 1% of base X-Git-Tag: v0.0.14~45^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=e640b935f5bdf94a63e9a1103df9b5c9a5e8f4ed;p=rust-lightning 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. --- diff --git a/codecov.yml b/codecov.yml index 88751cdb1..c55a5357d 100644 --- a/codecov.yml +++ b/codecov.yml @@ -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