mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-15 19:17:03 +01:00
Switches to Codecov for coverage reporting and status
This commit is contained in:
parent
87b1f5adec
commit
1547a698cb
4 changed files with 28 additions and 24 deletions
19
.codecov.yml
Normal file
19
.codecov.yml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# https://docs.codecov.com/docs/pull-request-comments
|
||||
# codecov will only comment if coverage changes
|
||||
comment:
|
||||
require_changes: true
|
||||
coverage:
|
||||
status:
|
||||
project:
|
||||
default:
|
||||
# https://docs.codecov.com/docs/commit-status#threshold
|
||||
threshold: 1%
|
||||
# https://docs.codecov.com/docs/commit-status#only_pulls
|
||||
only_pulls: true
|
||||
patch:
|
||||
default:
|
||||
# For the changed lines only, target 75% covered, but
|
||||
# allow as low as 50%
|
||||
target: 75%
|
||||
threshold: 25%
|
||||
only_pulls: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue