-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathcodecov.yml
More file actions
28 lines (27 loc) · 1.16 KB
/
Copy pathcodecov.yml
File metadata and controls
28 lines (27 loc) · 1.16 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
# Codecov configuration (issue #131, #215).
#
# Coverage is uploaded from both vitest's lcov (`bun run test:coverage`, at
# ./coverage/lcov.info) and Bun's lcov (`bun run test:coverage:bun`, at
# ./coverage/bun/lcov.info) — Codecov merges the two reports for the same
# commit, so the line coverage of daemon/runtime code exercised only by Bun
# tests (`*.bun.test.ts`, run via `bun test bun.test`) is now reflected too.
# Two caveats: Bun's lcov carries line coverage only (no branch/function
# data), and a few Bun tests spawn subprocesses whose lines can't be
# attributed to the parent — so the merged number is a floor, not a
# fully-representative figure, for Bun-only-covered code.
#
# Keep the status checks informational for now: the true combined % hasn't
# been observed yet, and codecov here is for visibility, not a merge gate.
# Follow-up (separate change): once the combined number is known, revisit
# whether project/patch gates should become real (non-informational).
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true
comment:
layout: "reach, diff, flags, files"
require_changes: false