Skip to content

Commit 8eb0731

Browse files
committed
Test on Python 3.10
1 parent 065b40c commit 8eb0731

File tree

2 files changed

+23
-13
lines changed

2 files changed

+23
-13
lines changed

.github/workflows/ci.yml

+10-6
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,18 @@ jobs:
7070
os: ubuntu-latest
7171
python-version: 3.9
7272
tox-env: py39
73-
- name: py3.9 with gmpy
73+
- name: py3.10
7474
os: ubuntu-latest
75-
python-version: 3.9
76-
tox-env: gmpypy39
77-
- name: py3.9 with gmpy2
75+
python-version: '3.10'
76+
tox-env: py310
77+
- name: py3.10 with gmpy
7878
os: ubuntu-latest
79-
python-version: 3.9
80-
tox-env: gmpy2py39
79+
python-version: '3.10'
80+
tox-env: gmpypy310
81+
- name: py3.10 with gmpy2
82+
os: ubuntu-latest
83+
python-version: '3.10'
84+
tox-env: gmpy2py310
8185
- name: pypy
8286
os: ubuntu-latest
8387
python-version: pypy-2.7

tox.ini

+13-7
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, py, pypy, pypy3, gmpy2py27, gmpy2py39, gmpypy27, gmpypy39, codechecks
3+
envlist = py26, py27, py33, py34, py35, py36, py37, py38, py39, py310, 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,py,py3}: pytest
15-
py{27,34,35,36,37,38,39,py,py3}: hypothesis
16-
gmpy2py{27,39}: gmpy2
17-
gmpypy{27,39}: gmpy
18-
gmpy{2py27,2py39,py27,py39}: pytest
19-
gmpy{2py27,2py39,py27,py39}: hypothesis
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
2020
# six==1.9.0 comes from setup.py install_requires
2121
py27_old_six: six==1.9.0
2222
py27_old_six: pytest
@@ -50,12 +50,18 @@ basepython=python2.7
5050
[testenv:gmpypy39]
5151
basepython=python3.9
5252

53+
[testenv:gmpypy310]
54+
basepython=python3.10
55+
5356
[testenv:gmpy2py27]
5457
basepython=python2.7
5558

5659
[testenv:gmpy2py39]
5760
basepython=python3.9
5861

62+
[testenv:gmpy2py310]
63+
basepython=python3.10
64+
5965
[testenv:instrumental]
6066
basepython = python2.7
6167
deps =

0 commit comments

Comments
 (0)