@@ -12,17 +12,16 @@ jobs:
1212 python-version : ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.9', 'pypy3.10']
1313
1414 steps :
15- - uses : actions/checkout@v4
15+ - uses : actions/checkout@v5
1616
1717 - name : Set up Python ${{ matrix.python-version }}
18- uses : actions/setup-python@v5
18+ uses : actions/setup-python@v6
1919 with :
2020 python-version : ${{ matrix.python-version }}
2121
22- - name : Install dependencies
22+ - name : Install tox and plugins
2323 run : |
24- python -m pip install --upgrade pip
25- pip install "tox>=4.24,<5" "tox-gh-actions>=3.2,<4"
24+ python -m pip install tox tox-gh-actions tox-uv uv
2625
2726 - name : Run unit tests with tox
2827 run : tox
@@ -36,17 +35,24 @@ jobs:
3635 python-version : ['3.7', '3.8']
3736
3837 steps :
39- - uses : actions/checkout@v4
38+ - uses : actions/checkout@v5
4039
41- - name : Set up Python ${{ matrix.python-version }}
42- uses : actions/setup-python@v5
40+ - name : Set up Python 3.13 (tox runner)
41+ uses : actions/setup-python@v6
4342 with :
44- python-version : ${{ matrix.python-version }}
43+ python-version : ' 3.13 '
4544
46- - name : Install dependencies
45+ - name : Install tox and plugins (with Python 3.13)
4746 run : |
48- python -m pip install --upgrade pip
49- pip install "tox>=3.28,<5" "tox-gh-actions>=3.2,<4"
47+ python3.13 -m pip install tox tox-gh-actions tox-uv uv
5048
51- - name : Run unit tests with tox
52- run : tox
49+ - name : Set up target Python ${{ matrix.python-version }}
50+ uses : actions/setup-python@v6
51+ with :
52+ python-version : ${{ matrix.python-version }}
53+ 54+ - name : Run unit tests with tox for target
55+ shell : bash
56+ run : |
57+ ENV="py${{ matrix.python-version }}"; ENV=${ENV/./}
58+ python3.13 -m tox -e "$ENV"
0 commit comments