Skip to content

Commit d0eebe5

Browse files
committed
Chore: Fix tox
1 parent 112c48f commit d0eebe5

File tree

2 files changed

+8
-22
lines changed

2 files changed

+8
-22
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: python -m pip install --upgrade pip
3131

3232
- name: Install tox
33-
run: python -m pip install --upgrade tox
33+
run: python -m pip install tox==4.8.0
3434

3535
- name: Build docs with tox
3636
run: tox -e docs
@@ -89,22 +89,12 @@ jobs:
8989
fail-fast: false
9090
matrix:
9191
os: [ubuntu-latest, windows-latest, macos-latest]
92-
python-version: ["3.7", "3.8", "3.9", "3.10"]
92+
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy3.9"]
9393
include:
9494
- os: ubuntu-latest
9595
python-version: "3.10"
9696
with-coverage: true
9797

98-
- os: ubuntu-latest
99-
python-version: pypy3.9
100-
tox-env: py3.9
101-
- os: windows-latest
102-
python-version: pypy3.9
103-
tox-env: py3.9
104-
- os: macos-latest
105-
python-version: pypy3.9
106-
tox-env: py3.9
107-
10898
- os: ubuntu-latest
10999
python-version: 3.11-dev
110100
tox-env: devel
@@ -135,7 +125,7 @@ jobs:
135125
run: python -m pip install --upgrade pip
136126

137127
- name: Install tox
138-
run: python -m pip install --upgrade tox
128+
run: python -m pip install tox==4.8.0
139129

140130
- name: Cache tox virtual environment
141131
uses: actions/cache@v3
@@ -175,12 +165,10 @@ jobs:
175165
strategy:
176166
fail-fast: false
177167
matrix:
178-
python-version: ["3.7", "3.8", "3.9", "3.10"]
168+
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy3.9"]
179169
include:
180170
- python-version: "3.10"
181171
with-coverage: true
182-
- python-version: pypy3.9
183-
tox-env: py3.9
184172
- python-version: 3.11-dev
185173
tox-env: devel
186174

@@ -207,7 +195,7 @@ jobs:
207195
run: python -m pip install --upgrade pip
208196

209197
- name: Install tox
210-
run: python -m pip install --upgrade tox
198+
run: python -m pip install tox==4.8.0
211199

212200
- name: Cache tox virtual environment
213201
uses: actions/cache@v3
@@ -247,10 +235,8 @@ jobs:
247235
strategy:
248236
fail-fast: false
249237
matrix:
250-
python-version: ["3.7", "3.8", "3.9", "3.10"]
238+
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy3.9"]
251239
include:
252-
- python-version: pypy3.9
253-
tox-env: py3.9
254240
- python-version: 3.11-dev
255241
tox-env: devel
256242

@@ -277,7 +263,7 @@ jobs:
277263
run: python -m pip install --upgrade pip
278264

279265
- name: Install tox
280-
run: python -m pip install --upgrade tox
266+
run: python -m pip install tox==4.8.0
281267

282268
- name: Cache tox virtual environment
283269
uses: actions/cache@v3

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py{3.7, 3.8, 3.9, 3.10, py3.9}, docs, linting
7+
envlist = {3.7, 3.8, 3.9, 3.10, pypy3.9}, docs, linting
88
isolated_build = True
99

1010
[testenv]

0 commit comments

Comments
 (0)