/
codecov.yml
62 lines (58 loc) · 1.33 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
coverage:
status:
project:
default:
target: 50% #overall project/ repo coverage
patch:
service:
target: 41.67%
threshold: 0.01%
flags:
- service
controller:
target: auto
flags:
- controller
unit:
informational: true
target: auto
flags:
- unit
javascript:
target: 80%
flags:
- javascript
github_checks:
annotations: true
comment:
layout: "newheader, diff, flags, files"
require_changes: false # if true: only post the comment if coverage changes
require_base: false # [yes :: must have a base report to post]
require_head: true # [yes :: must have a head report to post]
show_carryforward_flags: true
show_critical_paths: true #new option to labeled critical files
hide_comment_details: true #collapse all the "detailed info" for the PR comment
profiling:
critical_files_paths:
- app/Services/*
- resources/js/classes/*
- app/Models/Charge.php
flags:
service:
carryforward: true
paths:
- app/Services
controller:
carryforward: true
paths:
- app/Http/Controllers
unit:
carryforward: true
paths:
- app/Models
javascript:
paths:
- resources/js
backend:
paths:
- .*