forked from Nonary/vibeshine
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcodecov.yml
More file actions
57 lines (53 loc) · 1.71 KB
/
Copy pathcodecov.yml
File metadata and controls
57 lines (53 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
49
50
51
52
53
54
55
56
57
---
codecov:
branch: main
coverage:
status:
project:
default:
target: auto
threshold: 10%
windows:
target: auto
threshold: 10%
flags: [windows]
web:
target: auto
threshold: 10%
flags: [web]
# Patch coverage threshold. The project's overall C++ coverage sits in the
# low teens (13.5% on main as of 2026-08-30) because most of the codebase
# is Windows graphics-driver integration that cannot be unit-tested
# without real GPU / display hardware. Set the patch floor to 25% —
# roughly 2x the project baseline — so changes are expected to be
# meaningfully more testable than the repo average without demanding
# coverage levels that are structurally unreachable for hardware-bound
# code paths.
#
# The "single digits / roughly 3x" figures this comment used to quote were
# never actually measured. The windows flag uploaded an all-zero report
# until the coverage build was fixed (#160), so the C++ baseline was
# unknowable and 25% was really ~3x an assumption. It is ~1.9x the real
# number. The floor is left at 25% deliberately — it is still a meaningful
# step above the repo average — but re-check this ratio if the baseline
# moves materially.
patch:
default:
target: 25%
flag_management:
individual_flags:
- name: windows
paths:
- "src/"
carryforward: true
- name: web
paths:
- "src_assets/common/assets/web/"
carryforward: true
comment:
layout: "diff, flags, files"
behavior: default
require_changes: false # if true: only post the comment if coverage changes
ignore:
- "tests"
- "third-party"