Skip to content

Commit

Permalink
Add codecov config
Browse files Browse the repository at this point in the history
  • Loading branch information
timvink committed Dec 22, 2020
1 parent 6aea9df commit e7856bb
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
comment: false

coverage:
status:
project:
default:
# Commits pushed to master should not make the overall
# project coverage decrease by more than x%:
target: auto
threshold: 20%
patch:
default:
# Be tolerant on slight code coverage diff on PRs to limit
# noisy red coverage status on github PRs.
# Note: The coverage stats are still uploaded
# to codecov so that PR reviewers can see uncovered lines
target: auto
threshold: 20%

codecov:
notify:
# Prevent coverage status to upload multiple times for parallel and long
# running CI pipelines. This configuration is particularly useful on PRs
# to avoid confusion. Note that this value is set to the number of Azure
# Pipeline jobs uploading coverage reports.
after_n_builds: 6

0 comments on commit e7856bb

Please sign in to comment.