Skip to content

Commit 0aff088

Browse files
committed
Enable testing with Python 3.11
We should add Python 3.11 to our testing matrix in order to antecipate possible problems (even if we don't attempt to solve any of them right away).
1 parent 2ad1b58 commit 0aff088

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@ jobs:
3737
"windows-py38",
3838
"windows-py39",
3939
"windows-py310",
40+
"windows-py311",
4041

4142
"ubuntu-py37",
4243
"ubuntu-py37-pluggy",
4344
"ubuntu-py37-freeze",
4445
"ubuntu-py38",
4546
"ubuntu-py39",
4647
"ubuntu-py310",
48+
"ubuntu-py311",
4749
"ubuntu-pypy3",
4850

4951
"macos-py37",
@@ -76,6 +78,10 @@ jobs:
7678
python: "3.10.1"
7779
os: windows-latest
7880
tox_env: "py310-xdist"
81+
- name: "windows-py311"
82+
python: "3.11.0-alpha.3"
83+
os: windows-latest
84+
tox_env: "py311"
7985

8086
- name: "ubuntu-py37"
8187
python: "3.7"
@@ -102,6 +108,10 @@ jobs:
102108
python: "3.10.1"
103109
os: ubuntu-latest
104110
tox_env: "py310-xdist"
111+
- name: "ubuntu-py311"
112+
python: "3.11.0-alpha.3"
113+
os: ubuntu-latest
114+
tox_env: "py311"
105115
- name: "ubuntu-pypy3"
106116
python: "pypy-3.7"
107117
os: ubuntu-latest

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ envlist =
88
py38
99
py39
1010
py310
11+
py311
1112
pypy3
1213
py37-{pexpect,xdist,unittestextras,numpy,pluggymain}
1314
doctesting

0 commit comments

Comments
 (0)