mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Update Codecov settings
This makes patch checks slightly more lenient, as they are not required.
This commit is contained in:
@@ -7,12 +7,20 @@
|
|||||||
# Settings related to code coverage analysis
|
# Settings related to code coverage analysis
|
||||||
coverage:
|
coverage:
|
||||||
status:
|
status:
|
||||||
|
# Configuration for project-level checks. This checks how the PR changes overall coverage.
|
||||||
project:
|
project:
|
||||||
default:
|
default:
|
||||||
# For each PR, auto compare coverage to previous commit.
|
# For each PR, auto compare coverage to previous commit.
|
||||||
# Require that overall (project) coverage does NOT drop more than 0.5%
|
# Require that overall (project) coverage does NOT drop more than 0.5%
|
||||||
target: auto
|
target: auto
|
||||||
threshold: 0.5%
|
threshold: 0.5%
|
||||||
|
# Configuration for patch-level checks. This checks the relative coverage of the new PR code ONLY.
|
||||||
|
patch:
|
||||||
|
default:
|
||||||
|
# For each PR, make sure the coverage of the new code is within 1% of current overall coverage.
|
||||||
|
# We let 'patch' be more lenient as we only require *project* coverage to not drop significantly.
|
||||||
|
target: auto
|
||||||
|
threshold: 1%
|
||||||
|
|
||||||
# Turn PR comments "off". This feature adds the code coverage summary as a
|
# Turn PR comments "off". This feature adds the code coverage summary as a
|
||||||
# comment on each PR. See https://docs.codecov.io/docs/pull-request-comments
|
# comment on each PR. See https://docs.codecov.io/docs/pull-request-comments
|
||||||
|
Reference in New Issue
Block a user