Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tune codecov to not alert on minor refactors #201

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
---
coverage:
precision: 0 # xx%
round: down # round down
range: 39..75 # red -> yellow (this range) -> green

status:
project:
default:
# basic
target: 40%
range: 30...50
against: auto # auto compares coverage to the previous base commit
target: auto # automatically calculate coverage target - should increase
threshold: 2% # allow for 2% reduction without failing
patch:
default:
against: parent
target: auto
changes: false


ignore:
- "vendor"
- "ipxe/"