2828
2929jobs :
3030 test-python :
31- name : Run Python Tests on ${{ matrix.os }}/${{ matrix.python-version }}
31+ name : Run Python Tests on ${{ matrix.os }}/${{ matrix.python }}
3232 runs-on : ${{ matrix.os }}
3333 strategy :
3434 matrix :
35- python-version : [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
36- os : [ ubuntu-latest, windows-latest, macos-latest ]
37-
35+ include :
36+ - { python: "3.9", os: "ubuntu-latest" }
37+ - { python: "3.10", os: "ubuntu-latest" }
38+ - { python: "3.11", os: "ubuntu-latest" }
39+ - { python: "3.12", os: "ubuntu-latest" }
40+ - { python: "3.13", os: "ubuntu-latest" }
41+ - { python: "3.13", os: "macos-latest" }
42+ - { python: "3.13", os: "windows-latest" }
3843 steps :
3944 - name : Checkout code
4045 uses : actions/checkout@v4
@@ -45,21 +50,21 @@ jobs:
4550 - name : Set up Python
4651 uses : actions/setup-python@v5
4752 with :
48- python-version : ${{ matrix.python-version }}
53+ python-version : ${{ matrix.python }}
4954
5055 - name : Run test suite
51- run : uvx nox -s tests-python-${{ matrix.python-version }}
56+ run : uvx nox -s tests-python-${{ matrix.python }}
5257
5358 - name : Upload test reports
5459 uses : actions/upload-artifact@v4
5560 with :
56- name : test-results-${{ matrix.os }}-py${{ matrix.python-version }}
61+ name : test-results-${{ matrix.os }}-py${{ matrix.python }}
5762 path : tests/results/*.xml
5863 retention-days : 5
5964
6065 - name : Upload coverage report
6166 uses : actions/upload-artifact@v4
6267 with :
63- name : coverage-report-${{ matrix.os }}-py${{ matrix.python-version }}
68+ name : coverage-report-${{ matrix.os }}-py${{ matrix.python }}
6469 path : coverage.xml
6570 retention-days : 5
0 commit comments