-
Notifications
You must be signed in to change notification settings - Fork 9
/
codecov.yml
38 lines (37 loc) · 1.55 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
# feeling sad? remember to validate this file!
# curl --data-binary @codecov.yml https://codecov.io/validate
# Ignore prototype features until matured
ignore:
- "web/src/features/cHaines"
- "web/src/features/fwiCalculator"
- "web/src/features/fba" # Unstable while we work on ASA prototype
- "web/src/api/fbaAPI.ts" # Unstable while we work on ASA prototype
- "web/src/utils/env.ts" # Just configuration
- "api/app/auto_spatial_advisory" # Unstable while we work on ASA prototype
- "api/app/db/crud" # We don't write tests for the crud layer, the crud layer is mocked out in tests.
- "api/app/db/database.py" # We don't write tests for the database layer, it's mocked out in tests.
- "api/app/tests" # We don't care about coverage of the tests themselves.
- "web/src/utils/fwi" # We're temporarily hardcoding cffdrs ts modules here. Will switch to npm package eventually.
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: 80%
# threshold: Allow the coverage to drop by X%, and posting a success status.
threshold: 3%
# https://docs.codecov.com/docs/commit-status#splitting-up-projects-example
api:
paths:
- api/app
threshold: 3%
web:
paths:
- web/src
# web isn't quite amazing yet - would be nice to push it up to 80%
target: 73%