]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Updates codecov configuration for the flag settings and notification interaction
authorTrenton H <797416+stumpylog@users.noreply.github.com>
Wed, 21 Jun 2023 22:27:31 +0000 (15:27 -0700)
committerTrenton H <797416+stumpylog@users.noreply.github.com>
Thu, 22 Jun 2023 15:20:04 +0000 (08:20 -0700)
.codecov.yml

index c11db14473708b1ae899fde00687a5dcbb4caf47..ae8159eb4f4c35a0c4da0c9cb0091414920ee4db 100644 (file)
@@ -1,3 +1,17 @@
+codecov:
+  require_ci_to_pass: true
+# https://docs.codecov.com/docs/flags#recommended-automatic-flag-management
+# Require each flag to have 1 upload before notification
+flag_management:
+  default_rules:
+    after_n_builds: 1
+  individual_flags:
+    - name: backend
+      paths:
+        - src/
+    - name: frontend
+      paths:
+        - src-ui/
 # https://docs.codecov.com/docs/pull-request-comments
 # codecov will only comment if coverage changes
 comment: