]> granicus.if.org Git - zfs/blobdiff - .github/codecov.yml
Small cleanup of PR and issue templates
[zfs] / .github / codecov.yml
index f36be39cb2e8dba74475f4ade4f40f4f379d31b3..9ae962639e408664469961bfc98bc63a5b8801e5 100644 (file)
@@ -1,9 +1,22 @@
 codecov:
-  strict_yaml_branch: master # only use the latest copy on master branch
-
-comment: off
+  notify:
+    require_ci_to_pass: false  # always post
+    after_n_builds: 2          # user and kernel
 
 coverage:
+  precision: 2                 # 2 digits of precision
+  range: "50...90"             # red -> yellow -> green
+
   status:
-    project: off
-    patch: off
+    project:
+      default:
+        threshold: 1%          # allow 1% coverage variance
+
+    patch:
+      default:
+        threshold: 1%          # allow 1% coverage variance
+
+comment:
+  layout: "reach, diff, flags, footer"
+  behavior: once               # update if exists; post new; skip if deleted
+  require_changes: yes         # only post when coverage changes