From 3131f3fc05a1939c5f9c9ec6c5e42d152377d4b4 Mon Sep 17 00:00:00 2001 From: Enrico Seiler Date: Fri, 27 Sep 2024 12:23:53 +0200 Subject: [PATCH] [INFRA] Update .codecov.yml --- .codecov.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 2fc174b..7616230 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,5 +1,10 @@ +# SPDX-FileCopyrightText: 2006-2024, Knut Reinert & Freie Universität Berlin +# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik +# SPDX-License-Identifier: CC0-1.0 + # See https://docs.codecov.io/docs/codecovyml-reference codecov: + token: 421c3166-94ed-4cfa-81d8-adab4c8f0cb3 require_ci_to_pass: no # codecov reports its results independent of whether CI passed notify: wait_for_ci: no # codecov has not to wait until the CI is finished to post its results @@ -9,9 +14,13 @@ coverage: project: # project is the overall code coverage of the whole codebase default: if_ci_failed: success # per default, codecov would fail if any CI fails - target: auto # the target coverage, usually the code coverage of the base-branch - threshold: 0.01% # codecov/project fails if there is a drop of more than 0.01% + informational: true # the codecov/patch status is never "fail" patch: # patch is the code-coverage of the changed lines in the PR and often reports false positives default: if_ci_failed: success # per default, codecov would fail if any CI fails informational: true # the codecov/patch status is never "fail" + only_pulls: true # only post codecov/patch status on PRs + +parsers: + cobertura: + partials_as_hits: true