Repository navigation
Expand file tree
/
Copy pathcodecov.yml
More file actions
48 lines (46 loc) · 1.71 KB
/
Copy pathcodecov.yml
File metadata and controls
48 lines (46 loc) · 1.71 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
# Codecov configuration — report-only.
#
# Coverage here measures the unit/integration suite over the native crates
# (server + mobile-feature Rust); the wasm32 `web` frontend and the E2E suites
# are not instrumented, so treat the absolute number as a floor, not a target.
# Both status checks are `informational: true` — Codecov posts the PR comment
# and per-line annotations but NEVER sets a failing commit status, matching the
# non-blocking `coverage` job in .github/workflows/rust.yml.
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true
# `unit` carries the Rust suite's upload; `ios` carries the omnibus-ios
# unit suite (ios-tests.yml). Leaves room for an `e2e` flag later without
# reshaping the project number.
#
# Both set `carryforward` because both producing jobs are path-gated: rust.yml
# gates on `needs.changes.outputs.rust`, ios-tests.yml on
# `needs.changes.outputs.ios`, and a skipped job counts as a pass. So a flag
# legitimately uploads nothing on most PRs — a Rust-only PR sends no `ios`
# report — and without carryforward Codecov drops that flag's whole line count
# from the PR's report rather than reusing the last one it saw. The project
# figure then swings by more than ten points on the language a PR happens to
# touch, which reads as a coverage regression that never happened.
flags:
unit:
carryforward: true
paths:
- db/
- server/
- shared/
- frontend/
- mcp/
ios:
carryforward: true
paths:
- omnibus-ios/
# PR comment: show the overall + per-flag diff, and don't nag when there's
# nothing to say.
comment:
layout: "reach, diff, flags, files"
require_changes: false