-
Notifications
You must be signed in to change notification settings - Fork 2
/
codecov.yml
67 lines (60 loc) · 1.4 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
codecov:
require_ci_to_pass: yes
flags:
frontend:
paths:
- ./react-frontend/frontend/coverage/
projectB:
paths:
- ./django-backend/backend/coverage/
coverage:
precision: 2
round: down
range: "70...100"
status:
# To see status checks based on flags
project:
default:
flags:
- frontend
- backend
frontend:
flags:
- frontend
backend:
flags:
- backend
patch: yes
changes: no
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
# adding Flags to your `layout` configuration to show up in the PR comment
comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: false
require_base: yes
require_head: yes
branches: null
# new section in the root YAML, flag_management:
flag_management:
# this section will govern all default rules of Flags
default_rules:
carryforward: boolean?
ignore: [path]?
paths: [path]?
statuses: [ #note, statuses are an array
name_prefix: string (r"^[\w\-\.]+$")
type: OR("project", "patch", "changes")
target: OR("auto", percent)?
include_changes: OR("auto", precent)?
threshold: percent?
**normal status attributes
]?
# No individual flags are added to YAML and flag names are automatically
# ingested from the Uploader