-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
codecov.yml
45 lines (42 loc) · 1.1 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
comment:
layout: "reach, diff, flags, files" # the layout of the comment on PRs
require_changes: true # only comment if coverage changes
coverage:
status:
project:
default:
target: 75% # the required coverage value
threshold: 5% # the leniency in hitting the target
informational: true
patch:
default:
informational: true
flags:
nightly:
joined: false
flag_management:
default_rules: # the rules that will be followed for any flag added, generally
carryforward: true
statuses:
- name_prefix: proj-
type: project
target: auto
threshold: 5%
- name_prefix: patch-
type: patch
target: 75%
individual_flags: # exceptions to the default rules above, stated flag by flag
- name: taro-cli
paths:
- packages/taro-cli/
- name: taro-runner
paths:
- packages/taro-webpack5-runner/
- name: taro-runtime
paths:
- packages/taro-runtime/
- name: taro-web
paths:
- packages/taro-components/
- packages/taro-h5/
- packages/taro-router/