-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathcodecov.yml
99 lines (94 loc) · 1.98 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
codecov:
require_ci_to_pass: false
comment:
behavior: default
layout: 'reach,diff,flags,files,footer'
require_changes: false
require_base: yes
require_head: yes
show_carryforward_flags: true
github_checks:
annotations: true
coverage:
precision: 2
round: down
range: '70.0...100.0'
status:
changes: false
default_rules:
flag_coverage_not_uploaded_behavior: exclude
project:
default:
target: auto
threshold: 0%
only_pulls: true
removed_code_behavior: adjust_base
api:
target: 65%
paths: #note, accepts globs, not regexes
- api/
flags:
- api
common:
target: 65%
paths:
- common/
flags:
- common
web:
target: 65%
paths:
- web/
flags:
- web
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
ignore:
- '**/node_modules/**'
- '**/__snapshots__/**'
- 'web/**/*.story.js'
- 'web/**/*.stories.js'
- 'web/**/*.test.js'
- 'web/**/*.cy.js'
- 'web/src/shared/**'
- 'web/src/fixtures/**'
- 'web/src/i18n/**'
- 'web/src/lazy/**'
- 'web/src/shared/**'
- 'web/src/static/**'
- 'web/src/file-loader.js'
- 'web/src/app.dev.js'
- 'web/src/app.js'
- 'web/src/constants.js'
- 'web/src/components/EnableCookies.js'
- 'web/src/util/analytics.js'
- 'web/src/util/oktaAuth.js'
- 'api/**/*.test.js'
- 'api/**/*.endpoint.js'
- 'api/**/index.js'
- 'api/**/shared.js'
- 'api/**/migrations/**'
- 'api/**/mongo-migrations/**'
- 'api/**/openAPI.js'
- 'api/**/schemas/**'
- 'api/**/seeds/**'
- 'api/**/test-data/*'
- 'api/audit.js'
- 'api/auth/mockedOktaAuth.js'
- 'api/db/knex.js'
- 'api/db/mongodb.js'
- 'api/seeds/development/apds.js'
- '_templates/**'
- '.circleci/**'
- '.github/**'
- 'bin/**'
- 'documentation/**'
- 'owasp/**'
- 'packer/**'
- 'postman/**'
- 'terraform/**'