This is an automated email from the ASF dual-hosted git repository.
xushiyan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hudi-rs.git
The following commit(s) were added to refs/heads/main by this push:
new 55d7053 chore: update codecov config (#245)
55d7053 is described below
commit 55d705304f5890f91943a2e1e631e8b366f819cc
Author: Shiyan Xu <[email protected]>
AuthorDate: Tue Jan 14 00:37:15 2025 -0600
chore: update codecov config (#245)
---
CONTRIBUTING.md | 4 ++--
codecov.yml | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f08e90f..696872d 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 58170ca..b9dada5 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