-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcodecov.yml
More file actions
35 lines (31 loc) · 980 Bytes
/
Copy pathcodecov.yml
File metadata and controls
35 lines (31 loc) · 980 Bytes
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
# Codecov config — backend coverage only for now.
# Start in "informational" mode: report the coverage delta on PRs but never
# fail the check. Tighten to a real target once we've watched a few weeks of
# numbers (note: integration tests are excluded by default, so the measured
# number undercounts code exercised only by live-network runs).
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true
# Per-area coverage. Frontend has no tests yet, so only the backend flag exists.
flags:
backend:
paths:
- backend/swmmcanada/
carryforward: true
# pytest runs from backend/, so report paths are swmmcanada/... — remap them
# onto the repo layout (backend/swmmcanada/...) so Codecov finds the files.
fixes:
- "swmmcanada/::backend/swmmcanada/"
ignore:
- "backend/tests"
- "frontend"
- "docs"
- "assets"
comment:
layout: "reach, diff, flags, files"
require_changes: false