mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-02-18 15:27:31 -05:00
ci: Add codecov config file
Be tolerant for coverage of new PRs
This commit is contained in:
16
codecov.yaml
Normal file
16
codecov.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
coverage:
|
||||
status:
|
||||
project:
|
||||
default:
|
||||
# Commits pushed to master should not make the overall
|
||||
# project coverage decrease by more than 1%:
|
||||
target: auto
|
||||
threshold: 1%
|
||||
patch:
|
||||
default:
|
||||
# Be tolerant on slight code coverage diff on PRs to limit
|
||||
# noisy red coverage status on github PRs.
|
||||
# Note: The coverage stats are still uploaded
|
||||
# to codecov so that PR reviewers can see uncovered lines
|
||||
target: auto
|
||||
threshold: 1%
|
||||
Reference in New Issue
Block a user