From 93edfbc818a914cb4d25aaaaf15bc7e76935d115 Mon Sep 17 00:00:00 2001 From: Spencer Schrock Date: Tue, 19 Sep 2023 13:05:26 -0700 Subject: [PATCH] :seedling: Reduce confusion around codecov check status. (#3492) With our current upload setup, it will always show a drop of 6-7%. This is confusing to contributors, so make the check always pass. Also fixes the threshold for the patch coverage. Signed-off-by: Spencer Schrock --- .codecov.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index b49dfb9e315..97cae9da52b 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -23,16 +23,15 @@ coverage: status: project: default: - enabled: true - # allowed to drop coverage and still result in a "success" commit status - threshold: null + informational: true if_not_found: success if_no_uploads: success if_ci_failed: error patch: default: - enabled: true - threshold: 90% + # patch coverage should be within 10% of existing coverage + target: auto + threshold: 10% if_not_found: success if_no_uploads: success if_ci_failed: error