Skip to content

Commit a0b925d

Browse files
authoredOct 7, 2024
codecov: increase project threshold to 2% (spack#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 <[email protected]>
1 parent c995187 commit a0b925d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎.codecov.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ coverage:
55
status:
66
project:
77
default:
8-
threshold: 0.2%
8+
threshold: 2.0%
99

1010
ignore:
1111
- lib/spack/spack/test/.*

0 commit comments

Comments
 (0)
Please sign in to comment.