From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Wed, 21 Jun 2023 22:27:31 +0000 (-0700) Subject: Updates codecov configuration for the flag settings and notification interaction X-Git-Tag: v1.16.4~1^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed6cb14c4d7e777284795028573bd3a174c04342;p=thirdparty%2Fpaperless-ngx.git Updates codecov configuration for the flag settings and notification interaction --- diff --git a/.codecov.yml b/.codecov.yml index c11db14473..ae8159eb4f 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -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: