-
Notifications
You must be signed in to change notification settings - Fork 307
/
codecov.yml
46 lines (44 loc) · 1.18 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
# TODO: Reenable once coverage reports are consistent
comment:
false
# layout: 'reach, diff, flags, files'
# behavior: default
# coverage:
# status:
# project:
# default:
# target: auto
# threshold: 1%
# patch:
# default:
# target: 90%
ignore:
- '.yarn'
- '.husky'
- '.github'
- '.vscode'
- 'grafana'
- '**/*.test.ts'
- '**/tests/'
- '**/test/'
- '**/generated/'
- '**/dist/'
- '**/vendor/'
- '**/schemas/'
- 'tsconfig.tsbuildinfo'
flag_management:
default_rules:
statuses:
# Project-wide coverage must increase on every PR, with a 1% leeway
- name_prefix: project-
type: project
target: auto
threshold: 1%
informational: true # TODO: Delete once coverage reports are consistent
if_ci_failed: success # TODO: Delete once coverage reports are consistent
# Every PR must have a minimum of 90% coverage on adjusted lines
- name_prefix: patch-
type: patch
target: 90%
informational: true # TODO: Delete once coverage reports are consistent
if_ci_failed: success # TODO: Delete once coverage reports are consistent