Skip to content

Commit

Permalink
Codecov Tweaks
Browse files Browse the repository at this point in the history
- Remove zfstests folder from codecov
- Limit precision to whole percents

Signed-off-by: Kjeld Schouten-Lebbing <[email protected]>
  • Loading branch information
Ornias1993 committed Nov 30, 2019
1 parent 0c46813 commit bf5b5ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ codecov:
after_n_builds: 2 # user and kernel

coverage:
precision: 2 # 2 digits of precision
precision: 0 # 0 decimals of precision
round: nearest # Round to nearest precision point
range: "50...90" # red -> yellow -> green

status:
Expand All @@ -20,3 +21,6 @@ comment:
layout: "reach, diff, flags, footer"
behavior: once # update if exists; post new; skip if deleted
require_changes: yes # only post when coverage changes

ignore:
- "tests/zfs-tests" # Don't need Tests to cover themselves

0 comments on commit bf5b5ad

Please sign in to comment.