Skip to content

Commit

Permalink
Chore: Add relaxed Codecov configuration
Browse files Browse the repository at this point in the history
This configures a large leniency of 25%, because patches submitted by
external contributors will not cover the whole codebase, because they
can't use OPS credentials on CI/GHA.
  • Loading branch information
amotl committed Jan 29, 2024
1 parent 938bed3 commit 6bda2ad
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# https://docs.codecov.io/docs/common-recipe-list
# https://docs.codecov.io/docs/commit-status#patch-status

# This configures a large leniency of 25%, because patches submitted by
# external contributors will not cover the whole codebase, because they
# can't use OPS credentials on CI/GHA.

coverage:
status:

project:
default:
target: auto # the required coverage value
threshold: 25% # the leniency in hitting the target

patch:
default:
informational: true

0 comments on commit 6bda2ad

Please sign in to comment.