Skip to content

Commit 4213b34

Browse files
committed
fix CI combined coverage
1 parent 4718c3c commit 4213b34

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
python-version: ${{ matrix.python-version }}
4545
enable-cache: true
4646
- name: Run tests
47+
env:
48+
COVERAGE_FILE: .coverage/coverage.${{ matrix.python-version }}
4749
run: uvx --with tox-uv tox r -e py
4850
- name: Store coverage files
4951
uses: actions/upload-artifact@v4

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ description =
120120
uv_resolution =
121121
py39: lowest
122122
set_env =
123-
!report: COVERAGE_FILE=.coverage/coverage.{envname}
123+
!report: COVERAGE_FILE={env:COVERAGE_FILE:.coverage/coverage.{envname}}
124124
commands =
125125
coverage run -m pytest -ra -q
126126
dependency_groups =

0 commit comments

Comments
 (0)