From a0b925dae30954ea49665685b3ffd797eb3f38ad Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Sun, 6 Oct 2024 23:24:22 -0700 Subject: [PATCH] codecov: increase project threshold to 2% (#46828) We run tests for more python versions on `develop` than we do for PRs, so codecov project status is nearly always failing. There is about a 1% difference in max coverage between `develop` tests and PR tests, so we should increase the project threshold to 2% to allow for this difference. The purpose of the project test on PRs is just to make sure that nothing done on the PR massively affects coverage of code not covered by the PR. This is valuable, but rare. It only really affects PRs that deal with test or coverage configuration. - [x] change project coverage threshold from .2% to 2% Signed-off-by: Todd Gamblin --- .codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.codecov.yml b/.codecov.yml index fead3ad004f..0a5b8d6c8fa 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -5,7 +5,7 @@ coverage: status: project: default: - threshold: 0.2% + threshold: 2.0% ignore: - lib/spack/spack/test/.*