]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Update .codecov.yml
authorshamoon <4887959+shamoon@users.noreply.github.com>
Wed, 2 Oct 2024 04:37:35 +0000 (21:37 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Wed, 2 Oct 2024 04:37:35 +0000 (21:37 -0700)
.codecov.yml

index 331e3a2834b43b22331e2dde7c568034b1bfd4cd..5fa8e16396626b76bf48f7139e2de68f1dd79479 100644 (file)
@@ -14,8 +14,9 @@ flag_management:
 # codecov will only comment if coverage changes
 comment:
   require_changes: true
+  # https://docs.codecov.com/docs/javascript-bundle-analysis
   require_bundle_changes: true
-  bundle_change_threshold: "1Kb"
+  bundle_change_threshold: "50Kb"
 coverage:
   status:
     project:
@@ -24,7 +25,12 @@ coverage:
         threshold: 1%
     patch:
       default:
-        # For the changed lines only, target 75% covered, but
-        # allow as low as 50%
-        target: 75%
+        # For the changed lines only, target 100% covered, but
+        # allow as low as 75%
+        target: 100%
         threshold: 25%
+# https://docs.codecov.com/docs/javascript-bundle-analysis
+bundle_analysis:
+  # Fail if the bundle size increases by more than 1MB
+  warning_threshold: "1MB"
+  status: true