Add Codecov configuration

This commit is contained in:
ismailgulek
2022-06-16 13:54:20 +03:00
parent 87915a9e30
commit 72f6490737
3 changed files with 20 additions and 0 deletions

16
codecov.yml Normal file
View 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%