diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f08e90f5..696872d5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -138,8 +138,8 @@ When submitting a pull request, please follow these guidelines: ### Code coverage -We use [codecov](https://app.codecov.io/github/apache/hudi-rs) to generate code coverage report and enforce net positive -coverage change for PRs, with a 10% lenacy. +We use [codecov](https://app.codecov.io/github/apache/hudi-rs) to generate code coverage report and enforce code +coverage rate. See [codecov.yml](./codecov.yml) for the configuration. ## Learning diff --git a/codecov.yml b/codecov.yml index 58170cad..b9dada53 100644 --- a/codecov.yml +++ b/codecov.yml @@ -18,6 +18,10 @@ coverage: status: project: # ref https://docs.codecov.com/docs/commit-status + default: + target: auto + threshold: 5 + patch: default: target: auto threshold: 10