-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcodecov.yaml
38 lines (33 loc) · 1.07 KB
/
codecov.yaml
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
codecov:
# The default branch is used to identify:
# Which branch to cache the repository YAML for UI changes.
# Which branch is the first branch on the repository dashboard in Codecov.
branch: main
# Show the Codecov status without waiting for other status checks to complete or pass.
require_ci_to_pass: no
comment: false
github_checks:
# Specify whether to use GitHub Checks annotations or normal statuses.
annotations: true
coverage:
status:
project:
default:
# `auto` will use the coverage from the base commit (pull request base or parent commit) coverage to compare against.
target: auto
# Allow the coverage to drop by X% for the project, and posting a success status.
threshold: 2%
flags:
- unit-tests
patch:
default:
target: '50'
informational: true
flags:
- unit-tests
flag_management:
default_rules:
carryforward: true
# Exclude files from being collected by Codecov. Ignored files will be skipped during processing.
ignore:
- "**/testing/*.go"