Skip to content

Commit

Permalink
Merge pull request #148 from eseiler/infra/coverage
Browse files Browse the repository at this point in the history
[INFRA] Update .codecov.yml
  • Loading branch information
eseiler authored Sep 27, 2024
2 parents 43e5efa + 3131f3f commit 93fbbaa
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit 93fbbaa

Please sign in to comment.