-
Notifications
You must be signed in to change notification settings - Fork 4
/
codecov.yml
45 lines (42 loc) · 1.12 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
codecov:
require_ci_to_pass: false
# Setting coverage targets per flag
coverage:
status:
project:
default:
target: 80% #overall project/ repo coverage
front:
target: 80%
flags: # this key tells Codecov to only use the coverage for these flags
- use-an-lpa-front
api:
target: 80%
flags:
- use-an-lpa-api
admin:
target: 70%
flags:
- use-an-lpa-admin
# adding Flags to your `layout` configuration to show up in the PR comment
comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: true
show_carryforward_flags: true
# New root YAML section = `flags:`
# This is where you would define every flag from your
# uploader, and update when new Flags added
flags:
use-an-lpa-front:
paths: #note, accepts globs, not regexes
- ./service-front
carryforward: true
use-an-lpa-api:
paths: #note, accepts globs, not regexes
- ./service-api
carryforward: true
use-an-lpa-admin:
paths: #note, accepts globs, not regexes
- ./service-admin
carryforward: true