]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Chore: Restore codecov commenting to internal PRs (#4508)
authorshamoon <4887959+shamoon@users.noreply.github.com>
Mon, 6 Nov 2023 01:29:13 +0000 (17:29 -0800)
committershamoon <4887959+shamoon@users.noreply.github.com>
Mon, 6 Nov 2023 01:30:04 +0000 (17:30 -0800)
Test out changes to code cov config

Co-Authored-By: Trenton H <797416+stumpylog@users.noreply.github.com>
.codecov.yml

index ae8159eb4f4c35a0c4da0c9cb0091414920ee4db..d3d07003c624ff789cc6557df01d37b35bbe2eee 100644 (file)
@@ -3,8 +3,6 @@ codecov:
 # 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:
@@ -22,12 +20,9 @@ coverage:
       default:
         # https://docs.codecov.com/docs/commit-status#threshold
         threshold: 1%
-        # https://docs.codecov.com/docs/commit-status#only_pulls
-        only_pulls: true
     patch:
       default:
         # For the changed lines only, target 75% covered, but
         # allow as low as 50%
         target: 75%
         threshold: 25%
-        only_pulls: true