@@ -12,17 +12,16 @@ jobs:
12
12
python-version : ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.9', 'pypy3.10']
13
13
14
14
steps :
15
- - uses : actions/checkout@v4
15
+ - uses : actions/checkout@v5
16
16
17
17
- name : Set up Python ${{ matrix.python-version }}
18
- uses : actions/setup-python@v5
18
+ uses : actions/setup-python@v6
19
19
with :
20
20
python-version : ${{ matrix.python-version }}
21
21
22
- - name : Install dependencies
22
+ - name : Install tox and plugins
23
23
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
26
25
27
26
- name : Run unit tests with tox
28
27
run : tox
@@ -36,17 +35,24 @@ jobs:
36
35
python-version : ['3.7', '3.8']
37
36
38
37
steps :
39
- - uses : actions/checkout@v4
38
+ - uses : actions/checkout@v5
40
39
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
43
42
with :
44
- python-version : ${{ matrix.python-version }}
43
+ python-version : ' 3.13 '
45
44
46
- - name : Install dependencies
45
+ - name : Install tox and plugins (with Python 3.13)
47
46
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
50
48
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