-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcodecov.yml
More file actions
58 lines (51 loc) · 1.41 KB
/
codecov.yml
File metadata and controls
58 lines (51 loc) · 1.41 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
58
# Codecov Configuration
# https://docs.codecov.com/docs/codecovyml-reference
coverage:
# Overall project coverage settings
status:
project:
default:
# Target 90% coverage (matches pyproject.toml goal)
target: 90%
# Allow 1% drop before failing (prevents flaky failures)
threshold: 1%
# Only check coverage on main branch merges
only_pulls: true
# Patch coverage: new code should be well-tested
patch:
default:
target: 80%
threshold: 5%
# Precision for coverage percentages
precision: 2
round: down
range: "70...100"
# Comment configuration for PRs
comment:
layout: "reach,diff,flags,files"
behavior: default
require_changes: true
# Flags for different test categories (future use)
flags:
unit:
paths:
- passfx/
carryforward: true
security:
paths:
- passfx/core/
carryforward: true
# Ignore files that don't need coverage
# UI modules excluded - coverage focuses on security-critical code
# (core crypto, vault, models, utils). UI rendering tests add
# complexity without improving security guarantees.
#
# Pattern notes (from Codecov docs):
# - "path/to/folder" ignores folder and ALL contents (recursive)
# - "**/*" requires at least one subdirectory level (won't match direct children)
ignore:
- "passfx/__main__.py"
- "**/__init__.py"
- "passfx/screens"
- "passfx/ui"
- "passfx/widgets"