Skip to content

Commit

Permalink
chore(project): configure codecov with range and threshold (#415)
Browse files Browse the repository at this point in the history
Require a coverage of 80% and allow for up to 2% of drop in PRs

Fixes #414

Signed-off-by: Xavier Coulon <[email protected]>
  • Loading branch information
xcoulon authored Sep 16, 2019
1 parent 16e1a17 commit cc4c79d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions codecov.yml → .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ codecov:
require_ci_to_pass: yes

coverage:
precision: 2
round: down
range: "70...100"

status:
project: yes
project:
default:
# basic
target: 80
threshold: 2
patch: yes
changes: no
precision: 2
round: down

parsers:
gcov:
Expand Down

0 comments on commit cc4c79d

Please sign in to comment.