Skip to content

Commit

Permalink
Set codecov to fail if not 100% per patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Keating authored and robertknight committed Mar 15, 2021
1 parent 00c4ae6 commit 5f9519e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,11 @@ coverage:
default:
# prevent spurious codecov errors resulting from tiny fluctuations
threshold: 0.1%
patch:
default:
# basic
target: 100%
threshold: 0%
# advanced
if_ci_failed: error
only_pulls: false

0 comments on commit 5f9519e

Please sign in to comment.