-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.codecov.yml
More file actions
55 lines (48 loc) · 1.07 KB
/
.codecov.yml
File metadata and controls
55 lines (48 loc) · 1.07 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
# Codecov Configuration for FDA CRL Explorer
# Coverage target configuration
coverage:
precision: 2
round: down
range: "70...100"
status:
# Overall project coverage - informational only
project:
default:
target: auto
threshold: 100%
informational: true
# Coverage on pull request changes - informational only
patch:
default:
target: auto
threshold: 100%
informational: true
# Comment configuration for pull requests
comment:
layout: "reach,diff,flags,tree,files"
behavior: default
require_changes: false
require_base: false
require_head: true
# Ignore paths from coverage
ignore:
- "backend/tests/**/*"
- "backend/**/test_*.py"
- "**/__pycache__/**"
- "**/venv/**"
- "**/env/**"
- "**/.venv/**"
- "**/site-packages/**"
- "**/__init__.py"
- "backend/app/utils/logging_config.py"
# Flags for different parts of the codebase
flags:
backend:
paths:
- backend/app/
carryforward: true
# CI configuration
codecov:
require_ci_to_pass: yes
notify:
wait_for_ci: yes