diff options
author | Kjeld Schouten <[email protected]> | 2019-12-03 19:23:48 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-12-03 10:23:48 -0800 |
commit | 7af72863fd0c995ea15f903273f93072bcfebc09 (patch) | |
tree | 9e6ffeb7496940227633559d6e10e7bfa378de63 /.github | |
parent | 5ff2249fa579c20c12bce627e284415720fd4412 (diff) |
Codecov tweaks
Modify the Codecov settings to provide a more realistic and stable
report. The following change were made:
- Precision has been limited to whole percents only, but will round
to nearest. This means 0.0-0.49 will round to zero (no change) and
0.51 will round to 1%.
- Exclude the tests/zfs-tests directory from the report.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Kjeld Schouten-Lebbing <[email protected]>
Closes #9650
Diffstat (limited to '.github')
-rw-r--r-- | .github/codecov.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/codecov.yml b/.github/codecov.yml index 9ae962639..e4155dd85 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -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: @@ -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
\ No newline at end of file |