coverage: Allow small drops in coverage

Most PRs change code where no tests have been written so far and where
adding tests is difficult. Codecov fails all those PRs.

These values should be adjusted once we have better integrated testing
into our workflow and have written better testing infrastructure for
modules and very tightly coupled components
This commit is contained in:
patrick96 2018-11-20 08:59:10 +01:00 committed by NBonaparte
parent 6f88fe11a9
commit 9725f8fb04
1 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,15 @@
coverage:
status:
project:
default:
# Coverage can drop by 0.1% without failing the status
threshold: 0.1
patch:
default:
# Patches don't need test coverage
# TODO remove once we have proper testing infrastructure and documentation
target: 0
ignore:
- "tests/*"
- "lib/*"