-
Notifications
You must be signed in to change notification settings - Fork 3
/
codecov.yml
68 lines (63 loc) · 1.59 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
codecov:
require_ci_to_pass: yes
coverage:
range: "70..100"
round: down
precision: 2
status:
project:
default: false # disable the default status that measures entire project
tests: # declare a new status context "tests" with 100% coverage
target: auto # TODO change to 100% when possible
paths:
- "tests/"
app: # declare a new status context "app" for everything else
target: auto
paths:
- "!tests/"
# flags:
# - unit
# - integration
patch:
default:
target: auto
threshold: "0%"
base: auto
# advanced
branches:
- master
if_ci_failed: error #success, failure, error, ignore
only_pulls: false
flags:
- "unit"
paths:
- "./"
# changes: no # TODO decide if necessary
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: false
# require_base: yes
# require_head: yes
# branches: null
# # No individual flags are added to YAML and flag names are automatically
# # ingested from the Uploader. https://docs.codecov.com/docs/flags
# flag_management:
# default_rules:
# carryforward: true
# statuses:
# - name_prefix: project-
# type: project
# target: auto
# threshold: 1%
# - name_prefix: patch-
# type: patch
# target: 90%
# Useful ref: https://docs.codecov.io/docs/commit-status