From 1844b92eeaff210fe7d65da3a7b6d21d23a4c66a Mon Sep 17 00:00:00 2001 From: wt Date: Tue, 14 Sep 2021 19:35:49 +0800 Subject: [PATCH] [skip ci] Adjust the coverage index of project and patch to 80% (#7883) Signed-off-by: wangting0128 --- .github/mergify.yml | 1 + codecov.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/mergify.yml b/.github/mergify.yml index 2ba2f3ca15..c41023b5b8 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -6,6 +6,7 @@ pull_request_rules: - "status-success=Build and test AMD64 Ubuntu 18.04" - "status-success=continuous-integration/jenkins/pr-merge" - "status-success=codecov/patch" + - "status-success=codecov/project" actions: label: add: diff --git a/codecov.yml b/codecov.yml index d96771b0c2..7c037ff3a2 100644 --- a/codecov.yml +++ b/codecov.yml @@ -11,12 +11,13 @@ coverage: status: project: default: + target: 80% threshold: 0% #Allow the coverage to drop by threshold%, and posting a success status. branches: - master patch: default: - target: 70% + target: 80% threshold: 0% branches: - master