Skip to content

Commit 5867dd9

Browse files
author
github-actions
committed
ci: Add Codecov flags for component and Python version coverage tracking
Add codecov.yml with flag definitions for unit, integration, and CLI components with path-based filtering. Update workflow to tag uploads with Python version flags (py3.12, py3.13).
1 parent fb50bf4 commit 5867dd9

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
with:
6868
token: ${{ secrets.CODECOV_TOKEN }}
6969
files: coverage.xml
70+
flags: unittests,py${{ matrix.python-version }}
7071
fail_ci_if_error: true
7172
verbose: true
7273

codecov.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
coverage:
2+
status:
3+
project:
4+
default:
5+
target: auto
6+
patch:
7+
default:
8+
target: auto
9+
10+
flag_management:
11+
default_rules:
12+
carryforward: true
13+
14+
individual_flags:
15+
- name: unit
16+
paths:
17+
- src/ryandata_address_utils/parsers/
18+
- src/ryandata_address_utils/models/
19+
- src/ryandata_address_utils/core/
20+
- src/ryandata_address_utils/validation/
21+
- src/ryandata_address_utils/data/
22+
carryforward: true
23+
24+
- name: integration
25+
paths:
26+
- src/ryandata_address_utils/pandas_ext.py
27+
- src/ryandata_address_utils/service.py
28+
carryforward: true
29+
30+
- name: cli
31+
paths:
32+
- src/ryandata_address_utils/setup_cli.py
33+
carryforward: true

0 commit comments

Comments
 (0)