diff --git a/.codecov.yml b/.codecov.yml index 58d1399af..2d9d3e61b 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -2,9 +2,11 @@ coverage: status: project: default: - target: auto - threshold: 1% + # Don't allow overall project coverage to be dropped more than + # 2% + threshold: 2 patch: default: - target: auto - threshold: 1% + # 75% of the changed code must be covered by tests + threshold: 25 + only_pulls: true