aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-06-17 17:18:23 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-06-17 17:18:23 +0200
commit5ee7e3e388908f55ab4ce2148d9c084804cff147 (patch)
tree85ecb3a6c46a8aa4e259a94a2f61cfeb2c703889
parentb6c46f43512613717ccfdfffd6e68ac943c0727a (diff)
codecov.yml: switch to informational mode
Informational mode should always produce "pass" result: https://docs.codecov.io/docs/commit-status#informational I can't get anything useful of these notifications. E.g. now we have patches that add 1 line, which gives 0% patch coverage, which results in a failure. But we have some packages/commands not tested at all, so we can't require contributors to make that covered. For overall project coverage I also have not seen any useful pass/fail results. The criteria highly depends on the nature of the change. If we set the threshold too low, we will get lots of effectively false failures. The current 50% setting effectively means "never fail" anyway.
-rw-r--r--codecov.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/codecov.yml b/codecov.yml
index 533fc7894..e374bcd99 100644
--- a/codecov.yml
+++ b/codecov.yml
@@ -14,8 +14,7 @@ coverage:
status:
project:
default:
- target: 50%
- threshold: 0.1%
+ informational: true
comment:
layout: "files"