-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodecov.yml
34 lines (30 loc) · 864 Bytes
/
codecov.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# SPDX-FileCopyrightText: 2025 Joost van der Laan <[email protected]>
#
# SPDX-License-Identifier: AGPL-3.0-only
# Codecov repository config file
# https://docs.codecov.com/docs/codecov-yaml#repository-yaml
coverage:
status:
project:
default:
# Set coverage targets
target: 80%
# Allow coverage to drop by 2% before failing
threshold: 2%
patch:
default:
# New code should have at least 80% coverage
target: 80%
# Only check coverage on files changed in the PR
only_pulls: true
comment:
# only post a comment on a PR if the code coverage changes
# https://docs.codecov.com/docs/codecovyml-reference#comment
require_changes: true
layout: "files"
behavior: default
# Ignore test files and build scripts
ignore:
- "tests/**/*"
- "benches/**/*"
- "build.rs"