Repository navigation
Expand file tree
/
Copy pathcodecov.yml
More file actions
32 lines (30 loc) · 1.43 KB
/
Copy pathcodecov.yml
File metadata and controls
32 lines (30 loc) · 1.43 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
# Codecov is used for *visibility* only — the enforced coverage gate lives in
# CI as pytest's `--cov-fail-under` (see .github/workflows/python-package.yml),
# which is deterministic and needs no external service. Marking Codecov's status
# checks informational keeps a flaky upload or a transient dip from blocking the
# merge button while still surfacing the trend and per-PR diff coverage.
#
# Coverage is uploaded from every OS/Python cell of the matrix; coverage.py only
# measures the host platform's backend (the other two aren't imported), so the
# merged Codecov view is what shows win32 + linux + macos coverage together.
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true
# Group the per-cell uploads (flagged by OS + Python version) so the combined
# report reflects the whole matrix rather than the last upload to land.
comment:
layout: "reach, diff, flags, files"
require_changes: false
# The Qt app (PyMemoryEditor/app) is left out of the reported number, as the
# CI coverage gate (.coveragerc-lib) leaves it out: most of it is widget wiring
# the offscreen suite does not drive, and counting its ~4.5k lines next to the
# ~4.6k of library and MCP code would make the badge measure the UI rather
# than the code people install the package for. Listed here as well so an
# upload that does include the app cannot shift the badge.
ignore:
- "PyMemoryEditor/app/**"