diff --git a/.github/settings.yml b/.github/settings.yml index 4ea1ac9c..4dedd871 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -1,5 +1,5 @@ --- -_extends: template +_extends: .github repository: name: c-toxcore @@ -16,10 +16,12 @@ branches: - Codacy/PR Quality Review - CodeFactor - Travis CI - Pull Request - - WIP - "ci/circleci: asan" - "ci/circleci: tsan" + - cirrus-ci - code-review/reviewable + - codecov/patch + - codecov/project - continuous-integration/appveyor/pr # Labels specific to c-toxcore. diff --git a/codecov.yml b/codecov.yml index f2e3042d..45b48ca2 100644 --- a/codecov.yml +++ b/codecov.yml @@ -3,3 +3,11 @@ coverage: precision: 2 round: down range: "80...100" + + status: + project: + default: + # Allow coverage to fluctuate 2% up and down. We can never go below 80% + # because of the above range, but toxcore coverage fluctuates a lot due + # to low coverage of error paths that sometimes happen. + threshold: 2%