mirror of https://github.com/pyodide/pyodide.git
Add codecov configuration (#3067)
This commit is contained in:
parent
0e363f0e1c
commit
80fb9d226c
|
@ -0,0 +1,25 @@
|
|||
comment: false
|
||||
|
||||
coverage:
|
||||
status:
|
||||
project:
|
||||
default:
|
||||
# Commits pushed to main should not make the overall
|
||||
# project coverage decrease by more than 1%:
|
||||
target: auto
|
||||
threshold: 1%
|
||||
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: 1%
|
||||
|
||||
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.
|
||||
after_n_builds: 1
|
Loading…
Reference in New Issue