Skip to content

Commit 8cbecbe

Browse files
committed
fix attempt for coverage
1 parent f7588d6 commit 8cbecbe

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ jobs:
3939
os: macos-latest
4040
python: "3.13"
4141
prerelease: "allow"
42-
test-type: coverage
4342
env: # environment variable for use in codecov's env_vars tagging
4443
ENV_NAME: ${{ matrix.name }}
4544
UV_PRERELEASE: ${{ matrix.prerelease || 'disallow' }}
@@ -67,10 +66,6 @@ jobs:
6766
- name: Install dependencies
6867
run: uvx hatch -v env create ${{ matrix.name }}
6968

70-
- name: Run tests
71-
if: matrix.test-type == null
72-
run: uvx hatch run ${{ matrix.name }}:run
73-
7469
- name: Run tests (coverage)
7570
if: matrix.test-type == 'coverage'
7671
run: uvx hatch run ${{ matrix.name }}:run-cov --cov --cov-report=xml
@@ -83,13 +78,12 @@ jobs:
8378
path: ${{ github.workspace }}/tests/figures/*
8479

8580
- name: Upload coverage data
86-
if: matrix.test-type == 'coverage'
8781
uses: codecov/codecov-action@v5
8882
with:
8983
token: ${{ secrets.CODECOV_TOKEN }}
9084
env_vars: ENV_NAME
9185
fail_ci_if_error: true
92-
files: test-data/coverage.xml
86+
files: coverage.xml
9387

9488
check:
9589
if: always()

0 commit comments

Comments
 (0)