mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Allow test coverage to fluctuate 2% up and down, but not below 80%.
This commit is contained in:
parent
8816e50ed7
commit
087eede3a3
6
.github/settings.yml
vendored
6
.github/settings.yml
vendored
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
_extends: template
|
_extends: .github
|
||||||
|
|
||||||
repository:
|
repository:
|
||||||
name: c-toxcore
|
name: c-toxcore
|
||||||
|
@ -16,10 +16,12 @@ branches:
|
||||||
- Codacy/PR Quality Review
|
- Codacy/PR Quality Review
|
||||||
- CodeFactor
|
- CodeFactor
|
||||||
- Travis CI - Pull Request
|
- Travis CI - Pull Request
|
||||||
- WIP
|
|
||||||
- "ci/circleci: asan"
|
- "ci/circleci: asan"
|
||||||
- "ci/circleci: tsan"
|
- "ci/circleci: tsan"
|
||||||
|
- cirrus-ci
|
||||||
- code-review/reviewable
|
- code-review/reviewable
|
||||||
|
- codecov/patch
|
||||||
|
- codecov/project
|
||||||
- continuous-integration/appveyor/pr
|
- continuous-integration/appveyor/pr
|
||||||
|
|
||||||
# Labels specific to c-toxcore.
|
# Labels specific to c-toxcore.
|
||||||
|
|
|
@ -3,3 +3,11 @@ coverage:
|
||||||
precision: 2
|
precision: 2
|
||||||
round: down
|
round: down
|
||||||
range: "80...100"
|
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%
|
||||||
|
|
Loading…
Reference in New Issue
Block a user