-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathcodecov.yml
More file actions
49 lines (45 loc) · 1.93 KB
/
Copy pathcodecov.yml
File metadata and controls
49 lines (45 loc) · 1.93 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
# Codecov configuration for ProxySQL.
#
# Path contract (both upload pipelines MUST emit the same shape):
#
# TAP integration (flag integration-tests)
# test/infra/control/run-tests-isolated.bash normalizes every LCOV SF:
# path to repo-root-relative form (lib/MySQL_Monitor.cpp, src/main.cpp,
# test/tap/..., include/...).
#
# Unit tests (flag unit-tests)
# test/infra/control/run-unit-tests-asan-coverage.bash already emits
# repo-root-relative paths (lcov --directory lib).
#
# Historically TAP prefixed paths with proxysql/ (matching the CI checkout
# subdirectory). That created a phantom proxysql/ namespace on Codecov that
# never merged with unit-tests lib/, so daemon-only files like
# lib/MySQL_Monitor.cpp showed 0% despite thousands of real TAP hits.
# The TAP sed rewrite and the GH-Actions codecov-action settings
# (no network_prefix, disable_search, plugins:noop, root_dir:proxysql)
# keep both pipelines on the git-tree path scheme.
#
# fixes: kept as a safety net for any leftover proxysql/-prefixed SF: lines
# from older artifacts or partial rollouts. Becomes a no-op once every
# producer emits repo-root paths.
codecov:
# GitHub default branch is v3.0 (master is stale and has no codecov.yml).
branch: v3.0
fixes:
- "proxysql/::"
# Vendored test dependencies (Boost, googletest, etc.) drown out daemon
# coverage. Keep test/tap/** included -- those are first-party TAP sources.
ignore:
- "test/deps/**"
# Flags represent test/binary classes, not individual matrix shards. All TAP
# groups exercise the same regular ProxySQL daemon and therefore merge under
# integration-tests. The ASAN unit-test and cluster-simulator binaries use
# different build flags and remain separate. Keep carryforward disabled:
# manually dispatched single TAP groups must not appear as complete coverage.
flags:
unit-tests:
carryforward: false
integration-tests:
carryforward: false
simulation-tests:
carryforward: false