Skip to content

Commit 93fbbaa

Browse files
authored
Merge pull request #148 from eseiler/infra/coverage
[INFRA] Update .codecov.yml
2 parents 43e5efa + 3131f3f commit 93fbbaa

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.codecov.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
# SPDX-FileCopyrightText: 2006-2024, Knut Reinert & Freie Universität Berlin
2+
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
3+
# SPDX-License-Identifier: CC0-1.0
4+
15
# See https://docs.codecov.io/docs/codecovyml-reference
26
codecov:
7+
token: 421c3166-94ed-4cfa-81d8-adab4c8f0cb3
38
require_ci_to_pass: no # codecov reports its results independent of whether CI passed
49
notify:
510
wait_for_ci: no # codecov has not to wait until the CI is finished to post its results
@@ -9,9 +14,13 @@ coverage:
914
project: # project is the overall code coverage of the whole codebase
1015
default:
1116
if_ci_failed: success # per default, codecov would fail if any CI fails
12-
target: auto # the target coverage, usually the code coverage of the base-branch
13-
threshold: 0.01% # codecov/project fails if there is a drop of more than 0.01%
17+
informational: true # the codecov/patch status is never "fail"
1418
patch: # patch is the code-coverage of the changed lines in the PR and often reports false positives
1519
default:
1620
if_ci_failed: success # per default, codecov would fail if any CI fails
1721
informational: true # the codecov/patch status is never "fail"
22+
only_pulls: true # only post codecov/patch status on PRs
23+
24+
parsers:
25+
cobertura:
26+
partials_as_hits: true

0 commit comments

Comments
 (0)