Skip to content

Commit

Permalink
Reconfigure codecov
Browse files Browse the repository at this point in the history
Bonus: this one is actually valid.
  • Loading branch information
rossabaker committed Aug 26, 2016
1 parent aa92080 commit 85c6324
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions codecov.yml
@@ -1,9 +1,24 @@
# Goals of this configuration:
# * Support codecov informing us about where we need to improve
# * Drive overall code coverage up over the long term
# * Don't discourage contributors with Red X of Shame

coverage:
status:
project:
enabled: false
# We want the project to be at least as well covered as
# it was before, but we'll allow a 1% drop without incident,
# because stuff happens. It's on us to make sure we're
# improving over the long haul.
default:
target: auto
threshold: 1%
patch:
enabled: false
changes:
enabled: false
comment: off
# Patch coverage is informative, so we leave it enabled.
# But there are a lot of reasonable commits that don't affect
# overall coverage while have dreadful patch metrics (e.g.,
# reformatting). Let's calculate this, but not punish it.
# If we want more tests, a human should politely ask for them.
default:
target: 0%
changes: no

0 comments on commit 85c6324

Please sign in to comment.