@@ -12,18 +12,29 @@ 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@v5
15+ - name : Checkout project
16+ id : checkout
17+ uses : actions/checkout@v5
1618
1719 - name : Set up Python ${{ matrix.python-version }}
20+ id : setup-python
1821 uses : actions/setup-python@v6
1922 with :
2023 python-version : ${{ matrix.python-version }}
2124
25+ - name : Install uv
26+ id : setup-uv
27+ uses : astral-sh/setup-uv@v6
28+ with :
29+ enable-cache : true
30+
2231 - name : Install tox and plugins
32+ id : install-tox
2333 run : |
24- python -m pip install tox tox-gh-actions tox-uv uv
34+ uv pip install --system tox tox -uv tox-gh-actions
2535
2636 - name : Run unit tests with tox
37+ id : test
2738 run : tox
2839
2940 tests-old :
@@ -35,23 +46,35 @@ jobs:
3546 python-version : ['3.7', '3.8']
3647
3748 steps :
38- - uses : actions/checkout@v5
49+ - name : Checkout project
50+ id : checkout
51+ uses : actions/checkout@v5
3952
4053 - name : Set up Python 3.13 (tox runner)
54+ id : setup-python
4155 uses : actions/setup-python@v6
4256 with :
4357 python-version : ' 3.13'
4458
45- - name : Install tox and plugins (with Python 3.13)
59+ - name : Install uv
60+ id : setup-uv
61+ uses : astral-sh/setup-uv@v6
62+ with :
63+ enable-cache : true
64+
65+ - name : Install tox and plugins
66+ id : install-tox
4667 run : |
47- python3.13 -m pip install tox tox-gh-actions tox-uv uv
68+ uv pip install --system tox tox -uv tox-gh-actions
4869
4970 - name : Set up target Python ${{ matrix.python-version }}
71+ id : setup-target-python
5072 uses : actions/setup-python@v6
5173 with :
5274 python-version : ${{ matrix.python-version }}
5375
5476 - name : Run unit tests with tox for target
77+ id : test
5578 shell : bash
5679 run : |
5780 ENV="py${{ matrix.python-version }}"; ENV=${ENV/./}
0 commit comments