diff --git a/.codecov.yaml b/.codecov.yaml index f3e0f1d9..6b214cca 100644 --- a/.codecov.yaml +++ b/.codecov.yaml @@ -1,3 +1,4 @@ +# Config can be validated before merging: curl -X POST --data-binary @codecov.yaml https://codecov.io/validate # See http://docs.codecov.io/docs/coverage-configuration coverage: precision: 2 # 2 = xx.xx%, 0 = xx% @@ -11,7 +12,10 @@ coverage: status: # project will give us the diff in the total code coverage between a commit # and its parent - project: yes + project: + default: + # Allow the coverage to drop by 1% and posting a success status. + threshold: 1% # Patch gives just the coverage of the patch patch: yes # changes tells us if there are unexpected code coverage changes in other files