-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathcodecov.yml
More file actions
117 lines (110 loc) · 2.02 KB
/
codecov.yml
File metadata and controls
117 lines (110 loc) · 2.02 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# Codecov Configuration
# https://docs.codecov.com/docs/codecov-yaml
codecov:
require_ci_to_pass: true
coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default:
target: auto
threshold: 1%
informational: false
patch:
default:
target: auto
threshold: 1%
informational: false
parsers:
gcov:
branch_detection:
conditional: true
loop: true
macro: false
method: false
comment:
layout: "reach,diff,flags,files"
behavior: default
require_changes: false
require_base: false
require_head: true
ignore:
- "tests/**/*"
- "local_dev/**/*"
- "examples/**/*"
- "docsrc/**/*"
- "docs/**/*"
- "**/__init__.py"
- "**/conftest.py"
- "**/models/**/*"
- "zscaler/*/models/*"
- "zscaler/zia/models/*"
- "zscaler/zpa/models/*"
- "zscaler/zcc/models/*"
- "zscaler/zdx/models/*"
- "zscaler/ztw/models/*"
- "zscaler/zid/models/*"
- "zscaler/zeasm/models/*"
- "zscaler/zwa/models/*"
- "zscaler/ztb/models/*"
- "zscaler/zbi/models/*"
- "zscaler/zins/models/*"
- "zscaler/zms/models/*"
flags:
unittests:
paths:
- zscaler/
carryforward: true
zia-vcr:
paths:
- zscaler/zia/
carryforward: true
zpa-vcr:
paths:
- zscaler/zpa/
carryforward: true
zcc-vcr:
paths:
- zscaler/zcc/
carryforward: true
zdx-vcr:
paths:
- zscaler/zdx/
carryforward: true
ztw-vcr:
paths:
- zscaler/ztw/
carryforward: true
zid-vcr:
paths:
- zscaler/zid/
carryforward: true
zeasm-vcr:
paths:
- zscaler/zeasm/
carryforward: true
zwa-vcr:
paths:
- zscaler/zwa/
carryforward: true
ztb-vcr:
paths:
- zscaler/ztb/
carryforward: true
zbi-vcr:
paths:
- zscaler/zbi/
carryforward: true
zins-vcr:
paths:
- zscaler/zins/
carryforward: true
zms-vcr:
paths:
- zscaler/zms/
carryforward: true
# Codecov AI Configuration
ai_pr_review:
enabled: true