From e640b935f5bdf94a63e9a1103df9b5c9a5e8f4ed Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 17 Mar 2021 23:12:47 -0400 Subject: [PATCH] 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. --- codecov.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/codecov.yml b/codecov.yml index 88751cdb..c55a5357 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 -- 2.30.2