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:
|
status:
|
||||||
project:
|
project:
|
||||||
default:
|
default:
|
||||||
enabled: true
|
informational: true
|
||||||
# allowed to drop coverage and still result in a "success" commit status
|
|
||||||
threshold: null
|
|
||||||
if_not_found: success
|
if_not_found: success
|
||||||
if_no_uploads: success
|
if_no_uploads: success
|
||||||
if_ci_failed: error
|
if_ci_failed: error
|
||||||
patch:
|
patch:
|
||||||
default:
|
default:
|
||||||
enabled: true
|
# patch coverage should be within 10% of existing coverage
|
||||||
threshold: 90%
|
target: auto
|
||||||
|
threshold: 10%
|
||||||
if_not_found: success
|
if_not_found: success
|
||||||
if_no_uploads: success
|
if_no_uploads: success
|
||||||
if_ci_failed: error
|
if_ci_failed: error
|
||||||
|
Loading…
Reference in New Issue
Block a user