Skip to content

Commit e0b2b9a

Browse files
committed
add testing on Python 3.11
1 parent 8eb0731 commit e0b2b9a

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ jobs:
8282
os: ubuntu-latest
8383
python-version: '3.10'
8484
tox-env: gmpy2py310
85+
- name: py3.11
86+
os: ubuntu-latest
87+
python-version: '3.11.0-alpha.3'
88+
tox-env: py311
8589
- name: pypy
8690
os: ubuntu-latest
8791
python-version: pypy-2.7

tox.ini

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
[tox]
3-
envlist = py26, py27, py33, py34, py35, py36, py37, py38, py39, py310, py, pypy, pypy3, gmpy2py27, gmpy2py39, gmpy2py310, gmpypy27, gmpypy39, gmpypy310, codechecks
3+
envlist = py26, py27, py33, py34, py35, py36, py37, py38, py39, py310, py311, py, pypy, pypy3, gmpy2py27, gmpy2py39, gmpy2py310, gmpypy27, gmpypy39, gmpypy310, codechecks
44

55
[testenv]
66
deps =
@@ -11,12 +11,12 @@ deps =
1111
py{26}: unittest2
1212
py{26}: hypothesis<3
1313
py{34}: attrs<21
14-
py{26,27,34,35,36,37,38,39,310,py,py3}: pytest
15-
py{27,34,35,36,37,38,39,310,py,py3}: hypothesis
16-
gmpy2py{27,39,310}: gmpy2
17-
gmpypy{27,39,310}: gmpy
18-
gmpy{2py27,2py39,2py310,py27,py39,py310}: pytest
19-
gmpy{2py27,2py39,2py310,py27,py39,py310}: hypothesis
14+
py{26,27,34,35,36,37,38,39,310,311,py,py3}: pytest
15+
py{27,34,35,36,37,38,39,310,311,py,py3}: hypothesis
16+
gmpy2py{27,39,310,311}: gmpy2
17+
gmpypy{27,39,310,311}: gmpy
18+
gmpy{2py27,2py39,2py310,2py311,py27,py39,py310,py311}: pytest
19+
gmpy{2py27,2py39,2py310,2py311,py27,py39,py310,py311}: hypothesis
2020
# six==1.9.0 comes from setup.py install_requires
2121
py27_old_six: six==1.9.0
2222
py27_old_six: pytest
@@ -53,6 +53,9 @@ basepython=python3.9
5353
[testenv:gmpypy310]
5454
basepython=python3.10
5555

56+
[testenv:gmpypy311]
57+
basepython=python3.11
58+
5659
[testenv:gmpy2py27]
5760
basepython=python2.7
5861

@@ -62,6 +65,9 @@ basepython=python3.9
6265
[testenv:gmpy2py310]
6366
basepython=python3.10
6467

68+
[testenv:gmpy2py311]
69+
basepython=python3.11
70+
6571
[testenv:instrumental]
6672
basepython = python2.7
6773
deps =

0 commit comments

Comments
 (0)