0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 20:03:05 +02:00
Anki-Android/.codecov.yml
David Allison 6aec2cf7a6 coverage: disable noisy annotations on PRs
Most PRs had annotations added on each branch which did not have
coverage

This added more noise to the PR, and was not helpful, as we aren't yet
going for 100% coverage, it made reviews harder, and probably
alienated new contributors

https://docs.codecov.io/docs/github-checks-beta

Fixes #8296
2021-03-27 09:45:48 -05:00

17 lines
536 B
YAML

# the comments are too noisy to be useful
comment: false
# disable noisy inline-annotations ("Added line [LineNum] was not covered by tests") on PRs (#8296)
# https://docs.codecov.io/docs/github-checks-beta
github_checks:
annotations: false
coverage:
range: "36...100"
status:
project:
default:
# dropping slightly is ok - this stops the check failing on test timing variability
# .12 was observed as the largest variability owing to timing forcing different test branch choice
threshold: 0.15