mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-19 20:19:59 +00:00
Update coverage thresholds in codecov.yml: increase project target to 95% and adjust patch target to 50%
This commit is contained in:
parent
2ff4a99346
commit
d6ccf88829
16
codecov.yml
16
codecov.yml
@ -1,17 +1,17 @@
|
|||||||
coverage:
|
coverage:
|
||||||
status:
|
status:
|
||||||
# Project coverage status: require ≥ 90% overall, allow up to 2% drop
|
# Project coverage status: require >= 90% overall, allow up to 2% drop
|
||||||
project:
|
project:
|
||||||
default:
|
default:
|
||||||
target: 90% # overall coverage goal
|
target: 95% # overall coverage goal
|
||||||
threshold: 2% # tolerable drop below target before failing
|
threshold: 2% # tolerable drop below target before failing
|
||||||
base: auto # compare against default branch
|
base: auto # compare against default branch
|
||||||
only_pulls: true # enforce on PRs only
|
only_pulls: true # enforce on PRs only
|
||||||
|
|
||||||
# Patch coverage status: require ≥ 95% on new/changed lines, zero tolerance
|
# Patch coverage status: require >= 95% on new/changed lines, zero tolerance
|
||||||
patch:
|
patch:
|
||||||
default:
|
default:
|
||||||
target: 95% # coverage goal for new or changed code
|
target: 50% # coverage goal for new or changed code
|
||||||
threshold: 0% # no uncovered lines allowed
|
threshold: 0% # no uncovered lines allowed
|
||||||
base: auto # diff against default branch
|
base: auto # diff against default branch
|
||||||
only_pulls: true
|
only_pulls: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user