mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-17 11:57:12 +03:00
🌱 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 <sschrock@google.com>
This commit is contained in:
parent
893a472548
commit
93edfbc818
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user