File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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' }}
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()
You can’t perform that action at this time.
0 commit comments