summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2017-09-22 18:54:34 -0700
committerTony Hutter <[email protected]>2018-03-14 16:10:36 -0700
commit3790bfa80f9b26fd750b4a554c5707b9d380aac4 (patch)
tree19362a66a9d93a2a31689936ac825f4e6f3070a6 /.github
parent6b278f3223c0322527836da2e11e33978e54a234 (diff)
Update codecov.yml
Update the codecov.yml to make the following functional changes. * Do not require the CI testing to pass before posting results. * Set red-yellow-green coverage percent from 50%-100% * Allow a 1% drop in coverage to still be considered a pass. * Reduce the size of the comment posted to the issue. Additionally, the top level README.markdown has been updated to include the codecov.io badge and the project summary reworded. Reviewed-by: Prakash Surya <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #6669
Diffstat (limited to '.github')
-rw-r--r--.github/codecov.yml31
1 files changed, 26 insertions, 5 deletions
diff --git a/.github/codecov.yml b/.github/codecov.yml
index f36be39cb..e74c59a0f 100644
--- a/.github/codecov.yml
+++ b/.github/codecov.yml
@@ -1,9 +1,30 @@
codecov:
- strict_yaml_branch: master # only use the latest copy on master branch
-
-comment: off
+ notify:
+ require_ci_to_pass: no
coverage:
+ precision: 2
+ round: down
+ range: "50...100"
+
status:
- project: off
- patch: off
+ project:
+ default:
+ threshold: 1%
+
+ patch:
+ default:
+ threshold: 1%
+
+parsers:
+ gcov:
+ branch_detection:
+ conditional: yes
+ loop: yes
+ method: no
+ macro: no
+
+comment:
+ layout: "header, sunburst, diff"
+ behavior: default
+ require_changes: no