From f0dc4c7067991cbe82163878b5c8c0f89aeb7c5b Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Fri, 1 Jan 2021 04:35:44 +0900 Subject: [PATCH] codecov: fix patch config --- .codecov.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 2b857563..03554d6c 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,12 +1,14 @@ projects: *projects target: auto threshold: 1% - if_not_found: success if_ci_failed: error + if_not_found: success patch: *patch only_pulls: true target: auto - threshold: 10% + threshold: 5 + if_ci_failed: error + if_not_found: error codecov: allow_coverage_offsets: true @@ -59,8 +61,8 @@ coverage: <<: *patch changes: default: - base: auto - if_ci_failed: success + if_not_found: success + if_ci_failed: error only_pulls: false branches: - master