-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathcodecov.yml
More file actions
85 lines (81 loc) · 2.79 KB
/
codecov.yml
File metadata and controls
85 lines (81 loc) · 2.79 KB
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
# feeling sad? remember to validate this file!
# curl --data-binary @codecov.yml https://codecov.io/validate
# Ignore prototype features until matured
ignore:
- "web/apps/wps-web/src/features/cHaines"
- "web/apps/wps-web/src/features/fwiCalculator"
- "web/apps/wps-web/src/features/fireWatch"
- "web/packages/api/src/fbaAPI.ts" # Unstable while we work on ASA prototype
- "web/packages/utils/src/env.ts" # Just configuration
- "backend/packages/wps-shared/src/wps_shared/db/crud" # We don't write tests for the crud layer, the crud layer is mocked out in tests.
- "backend/packages/wps-shared/src/wps_shared/db/database.py" # We don't write tests for the database layer, it's mocked out in tests.
- "backend/packages/wps-shared/src/wps_shared/db/models" # We don't care about testing table schema.
- "backend/packages/wps-shared/src/wps_shared/schemas" # We don't care about explicitly testing pydantic response schema.
- "mobile/keycloak/ios/" # CAPPlugin, OIDAuthState are seemingly not mockable
- "**/tests/**"
- "**/local/**"
flags:
asa_go:
paths:
- mobile/asa-go
carryforward: true
keycloak_ios:
carryforward: true
android:
carryforward: true
comment:
show_carryforward_flags: true
coverage:
# https://docs.codecov.com/docs/commit-status
status:
patch:
default:
threshold: 100%
project:
# https://docs.codecov.com/docs/commit-status#project-status
default:
# target: minimum coverage ratio that the commit must meet
target: 70%
# threshold: Allow the coverage to drop by X%, and posting a success status.
threshold: 3%
paths:
- backend/packages/wps-api/src/app
- web/apps/wps-web/src
- web/packages/api/src
- web/packages/ui/src
- web/packages/utils/src
- backend/packages/wps-jobs/src
- backend/packages/wps-shared/src/wps_shared
- backend/packages/wps-wf1/src/wps_wf1
# https://docs.codecov.com/docs/commit-status#splitting-up-projects-example
api:
paths:
- backend/packages/wps-api/src/app
threshold: 3%
web:
paths:
- web/apps/wps-web/src
- web/packages/api/src
- web/packages/ui/src
- web/packages/utils/src
# web isn't quite amazing yet - would be nice to push it up to 80%
target: 71%
threshold: 3%
wps_jobs:
paths:
- backend/packages/wps-jobs/src
threshold: 3%
wps_shared:
paths:
- backend/packages/wps-shared/src/wps_shared
threshold: 3%
wps_wf1:
paths:
- backend/packages/wps-wf1/src/wps_wf1
threshold: 3%
asa_go:
flags:
- asa_go
paths:
- mobile/asa-go
threshold: 3%