@@ -17,28 +17,28 @@ jobs:
1717
1818 run-tests :
1919
20- name : Run tests for ${{ matrix.os }} on ${{ matrix.python-version }}
20+ name : Run tests for ${{ matrix.os }} on ${{ matrix.environment }}
2121 runs-on : ${{ matrix.os }}
2222
2323 strategy :
2424 fail-fast : false
2525 matrix :
2626 os : ['ubuntu-latest', 'macos-latest', 'windows-latest']
27- python-version : ['3.8 ', '3.9 ', '3.10 ', '3.11 ', '3.12 ']
27+ environment : ['py38 ', 'py39 ', 'py310 ', 'py311 ', 'py312 ']
2828
2929 steps :
3030 - uses : actions/checkout@v4
3131 -
uses :
prefix-dev/[email protected] 3232 with :
3333 pixi-version : v0.20.1
3434 cache : true
35- environments : test
35+ environments : ${{ matrix.environment }}
3636
3737 # Unit, integration, and end-to-end tests.
3838
3939 - name : Run unit tests and doctests.
4040 shell : bash -l {0}
41- run : pixi run -e test pytest -m "unit or (not integration and not end_to_end)" --cov=./ --cov-report=xml -n auto
41+ run : pixi run -e ${{ matrix.environment }} test -m "unit or (not integration and not end_to_end)" --cov-report=xml -n auto
4242
4343 - name : Upload unit test coverage reports to Codecov with GitHub Action
4444 uses : codecov/codecov-action@v4
4747
4848 - name : Run end-to-end tests.
4949 shell : bash -l {0}
50- run : pixi run -e test pytest -m end_to_end --cov=./ --cov-report=xml -n auto
50+ run : pixi run -e ${{ matrix.environment }} test -m end_to_end --cov-report=xml -n auto
5151
5252 - name : Upload end_to_end test coverage reports to Codecov with GitHub Action
5353 uses : codecov/codecov-action@v4
0 commit comments