From 5ee7e3e388908f55ab4ce2148d9c084804cff147 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 17 Jun 2020 17:18:23 +0200 Subject: 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. --- codecov.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'codecov.yml') 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" -- cgit mrf-deployment