mirror of
https://github.com/streamlink/streamlink
synced 2024-09-29 15:08:04 +02:00
ci.codecov: 100% tests target, add patch status
This commit is contained in:
parent
1b178b3ee2
commit
fba55ae780
13
.codecov.yml
13
.codecov.yml
@ -14,10 +14,14 @@ coverage:
|
|||||||
precision: 2
|
precision: 2
|
||||||
round: down
|
round: down
|
||||||
status:
|
status:
|
||||||
|
# coverage data of unchanged code (not necessary to have this as another PR status check)
|
||||||
changes: false
|
changes: false
|
||||||
patch: false
|
# coverage data of changed code
|
||||||
# split up coverage reports by path
|
patch:
|
||||||
# don't set coverage targets and instead set coverage thresholds
|
default:
|
||||||
|
# always succeed
|
||||||
|
target: 0
|
||||||
|
# overall coverage data, split up by path
|
||||||
project:
|
project:
|
||||||
# we can't disable the overall default project, because only this will have PR check summaries / comments
|
# we can't disable the overall default project, because only this will have PR check summaries / comments
|
||||||
# this replaces the PR comment
|
# this replaces the PR comment
|
||||||
@ -38,6 +42,7 @@ coverage:
|
|||||||
paths:
|
paths:
|
||||||
- "src/streamlink/plugins/"
|
- "src/streamlink/plugins/"
|
||||||
tests:
|
tests:
|
||||||
threshold: 1
|
# tests should always be fully covered
|
||||||
|
target: 100
|
||||||
paths:
|
paths:
|
||||||
- "tests/"
|
- "tests/"
|
||||||
|
Loading…
Reference in New Issue
Block a user