-
Notifications
You must be signed in to change notification settings - Fork 5
/
codecov.yml
45 lines (41 loc) · 1022 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
35
36
37
38
39
40
41
42
43
44
45
codecov:
require_ci_to_pass: yes
notify:
# Send report to Github PR only after all CIs
# are completed, otherwise we'll temporarily receive
# incomplete coverage reports.
# Note that unit test coverage builds count towards the build count!
# NOTE: Due to Codecov upload issues, we've decreased the number of builds
# from 18 to 6 (hopefully temporarily). Perhaps we can revisit
# when codecov-action@v4 is released.
after_n_builds: 6
wait_for_ci: yes
coverage:
precision: 2
round: down
range: "70...95"
status:
project:
# https://docs.codecov.io/docs/commit-status
default:
target: auto
# Allow coverage drop by x%
threshold: 0.5%
flags:
- unittests
patch:
default:
target: 80%
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: no
ignore:
- "utils"