@@ -30,41 +30,21 @@ jobs:
3030 with :
3131 python-version : ${{ matrix.python }}
3232
33- - name : Test with Python 3.9
34- if : matrix.python == '3.9'
35- run : uvx --from 'tox>=4.26,<5' tox run -x "tox.envlist=py39-pytest{60,61,62,70,71,72,73,74,80,81,82,83,84}"
36-
37- - name : Test with PyPy 3.9
38- if : matrix.python == 'pypy3.9'
39- run : uvx --from 'tox>=4.26,<5' tox run -x "tox.envlist=pypy39-pytest{60,61,62,70,71,72,73,74,80,81,82,83,84}"
40-
41- - name : Test with Python 3.10
42- if : matrix.python == '3.10'
43- run : uvx --from 'tox>=4.31,<5' tox run -x "tox.envlist=py310-pytest{70,71,72,73,74,80,81,82,83,84}"
44-
45- - name : Test with PyPy 3.10
46- if : matrix.python == 'pypy3.10'
47- run : uvx --from 'tox>=4.31,<5' tox run -x "tox.envlist=pypy310-pytest{70,71,72,73,74,80,81,82,83,84}"
48-
49- - name : Test with Python 3.11
50- if : matrix.python == '3.11'
51- run : uvx --from 'tox>=4.31,<5' tox run -x "tox.envlist=py311-pytest{73,74,80,81,82,83,84}"
52-
53- - name : Test with PyPy 3.11
54- if : matrix.python == 'pypy3.11'
55- run : uvx --from 'tox>=4.31,<5' tox run -x "tox.envlist=pypy311-pytest{73,74,80,81,82,83,84}"
56-
57- - name : Test with Python 3.12
58- if : matrix.python == '3.12'
59- run : uvx --from 'tox>=4.31,<5' tox run -x "tox.envlist=py312-pytest{74,80,81,82,83,84}"
60-
61- - name : Test with Python 3.13
62- if : matrix.python == '3.13'
63- run : uvx --from 'tox>=4.31,<5' tox run -x "tox.envlist=py313-pytest{84}"
64-
65- - name : Test with Python 3.14
66- if : matrix.python == '3.14'
67- run : uvx --from 'tox>=4.31,<5' tox run -x "tox.envlist=py314-pytest{84}"
33+ - name : Run tests for ${{ matrix.python }}
34+ run : |
35+ case "${{ matrix.python }}" in
36+ '3.9') ENVS="py39-pytest{60,61,62,70,71,72,73,74,80,81,82,83,84}" ;;
37+ 'pypy3.9') ENVS="pypy39-pytest{60,61,62,70,71,72,73,74,80,81,82,83,84}" ;;
38+ '3.10') ENVS="py310-pytest{70,71,72,73,74,80,81,82,83,84}" ;;
39+ 'pypy3.10') ENVS="pypy310-pytest{70,71,72,73,74,80,81,82,83,84}" ;;
40+ '3.11') ENVS="py311-pytest{73,74,80,81,82,83,84}" ;;
41+ 'pypy3.11') ENVS="pypy311-pytest{73,74,80,81,82,83,84}" ;;
42+ '3.12') ENVS="py312-pytest{74,80,81,82,83,84}" ;;
43+ '3.13') ENVS="py313-pytest{84}" ;;
44+ '3.14') ENVS="py314-pytest{84}" ;;
45+ *) echo "Unsupported python: ${{ matrix.python }}" ; exit 1 ;;
46+ esac
47+ uvx --from 'tox>=4.26,<5' tox run -x "tox.envlist=${ENVS}"
6848
6949 - name : Lint everything with Ruff
7050 if : matrix.python == '3.14'
0 commit comments