-
-
Notifications
You must be signed in to change notification settings - Fork 209
Expand file tree
/
Copy pathcodecov.yml
More file actions
68 lines (60 loc) · 1.18 KB
/
codecov.yml
File metadata and controls
68 lines (60 loc) · 1.18 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
codecov:
notify:
require_ci_to_pass: false
coverage:
precision: 2
round: down
range: "60...100"
status:
project:
default:
# Basic project coverage settings
target: 70%
threshold: 2%
base: auto
paths:
- "kapitan/"
if_not_found: success
if_ci_failed: error
informational: false
only_pulls: false
patch:
default:
# Coverage for new/changed code in PRs
target: 80%
threshold: 5%
base: auto
if_not_found: success
if_ci_failed: error
informational: false
only_pulls: true
changes:
default:
# Track coverage changes
informational: true
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
layout: "reach,diff,flags,files,footer"
behavior: default
require_changes: false
require_base: false
require_head: true
show_carryforward_flags: true
ignore:
- "tests/**"
- "**/*_test.py"
- "**/test_*.py"
- "setup.py"
- "docs/**"
- "examples/**"
flags:
unittests:
paths:
- kapitan/
carryforward: true