4444 matrix :
4545 env : ${{ fromJSON(needs.get-environments.outputs.envs) }}
4646 io_mark : ["zarr_io", "not zarr_io"]
47- env : # environment variable for use in codecov’s env_vars tagging
47+ env : # environment variables for use in codecov’s env_vars tagging
4848 ENV_NAME : ${{ matrix.env.name }}
49+ IO_MARK : ${{ matrix.io_mark }}
4950 steps :
5051 - uses : actions/checkout@v5
5152 with :
@@ -65,25 +66,27 @@ jobs:
6566 run : uvx hatch -v env create ${{ matrix.env.name }}
6667
6768 - name : Run tests
69+ env :
70+ COVERAGE_PROCESS_START : ${{ github.workspace }}/pyproject.toml
6871 run : |
6972 uvx hatch run ${{ matrix.env.name }}:run-cov -v --color=yes -n auto --junitxml=test-data/test-results.xml -m "${{ matrix.io_mark }}" ${{ matrix.env.args }}
70- uvx hatch run ${{ matrix.env.name }}:coverage combine
73+ uvx hatch run ${{ matrix.env.name }}:cov- combine
7174 uvx hatch run ${{ matrix.env.name }}:coverage xml
7275
7376 - name : Upload test results
7477 if : ${{ !cancelled() }}
7578 uses : codecov/test-results-action@v1
7679 with :
7780 token : ${{ secrets.CODECOV_TOKEN }}
78- env_vars : ENV_NAME
81+ env_vars : ENV_NAME,IO_MARK
7982 fail_ci_if_error : true
8083 file : test-data/test-results.xml
8184
8285 - name : Upload coverage data
8386 uses : codecov/codecov-action@v5
8487 with :
8588 token : ${{ secrets.CODECOV_TOKEN }}
86- env_vars : ENV_NAME
89+ env_vars : ENV_NAME,IO_MARK
8790 fail_ci_if_error : true
8891 files : test-data/coverage.xml
8992
0 commit comments