diff options
author | iphydf <iphydf@users.noreply.github.com> | 2020-04-25 14:10:30 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2020-04-26 16:05:12 +0000 |
commit | 087eede3a3e75cd7861e7a9b9c949bf36016829e (patch) | |
tree | d09115145fe0bdd2415af1c2e18c7427627251d4 /codecov.yml | |
parent | 8816e50ed708f10fd94c77f1e2ac9a1f9bc2e5dc (diff) |
Allow test coverage to fluctuate 2% up and down, but not below 80%.
Diffstat (limited to 'codecov.yml')
-rw-r--r-- | codecov.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/codecov.yml b/codecov.yml index f2e3042d..45b48ca2 100644 --- a/codecov.yml +++ b/codecov.yml | |||
@@ -3,3 +3,11 @@ coverage: | |||
3 | precision: 2 | 3 | precision: 2 |
4 | round: down | 4 | round: down |
5 | range: "80...100" | 5 | range: "80...100" |
6 | |||
7 | status: | ||
8 | project: | ||
9 | default: | ||
10 | # Allow coverage to fluctuate 2% up and down. We can never go below 80% | ||
11 | # because of the above range, but toxcore coverage fluctuates a lot due | ||
12 | # to low coverage of error paths that sometimes happen. | ||
13 | threshold: 2% | ||