-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcodecov.yml
More file actions
61 lines (53 loc) · 1.24 KB
/
Copy pathcodecov.yml
File metadata and controls
61 lines (53 loc) · 1.24 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Codecov Configuration for UFFS
# Copyright (c) 2025-2026 SKY, LLC.
# SPDX-License-Identifier: MPL-2.0
codecov:
# Token is provided via GitHub Secrets (${{ secrets.CODECOV_TOKEN }})
# Do NOT hardcode tokens in this file.
require_ci_to_pass: true
notify:
after_n_builds: 1
wait_for_ci: true
# Coverage targets
coverage:
# Overall project coverage target
status:
project:
default:
target: 90%
threshold: 1%
if_no_uploads: error
if_not_found: success
if_ci_failed: error
# Patch coverage for new code
patch:
default:
target: 95%
threshold: 1%
if_no_uploads: error
if_not_found: success
if_ci_failed: error
# Precision for coverage percentages
precision: 1
# Round coverage to nearest integer
round: down
# Coverage range (red to green)
range: "70...100"
# Comment settings for PRs
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: false
require_base: no
require_head: yes
# Ignore certain files/directories
ignore:
- "tests/**/*"
- "benches/**/*"
- "examples/**/*"
- "scripts/**/*"
- "build/**/*"
- "target/**/*"
- "**/*.md"
- "**/Cargo.toml"
- "**/Cargo.lock"