Skip to content

Commit

Permalink
Test on Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
tomato42 committed Jan 4, 2022
1 parent 065b40c commit 8eb0731
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 13 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,18 @@ jobs:
os: ubuntu-latest
python-version: 3.9
tox-env: py39
- name: py3.9 with gmpy
- name: py3.10
os: ubuntu-latest
python-version: 3.9
tox-env: gmpypy39
- name: py3.9 with gmpy2
python-version: '3.10'
tox-env: py310
- name: py3.10 with gmpy
os: ubuntu-latest
python-version: 3.9
tox-env: gmpy2py39
python-version: '3.10'
tox-env: gmpypy310
- name: py3.10 with gmpy2
os: ubuntu-latest
python-version: '3.10'
tox-env: gmpy2py310
- name: pypy
os: ubuntu-latest
python-version: pypy-2.7
Expand Down
20 changes: 13 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

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

[testenv]
deps =
Expand All @@ -11,12 +11,12 @@ deps =
py{26}: unittest2
py{26}: hypothesis<3
py{34}: attrs<21
py{26,27,34,35,36,37,38,39,py,py3}: pytest
py{27,34,35,36,37,38,39,py,py3}: hypothesis
gmpy2py{27,39}: gmpy2
gmpypy{27,39}: gmpy
gmpy{2py27,2py39,py27,py39}: pytest
gmpy{2py27,2py39,py27,py39}: hypothesis
py{26,27,34,35,36,37,38,39,310,py,py3}: pytest
py{27,34,35,36,37,38,39,310,py,py3}: hypothesis
gmpy2py{27,39,310}: gmpy2
gmpypy{27,39,310}: gmpy
gmpy{2py27,2py39,2py310,py27,py39,py310}: pytest
gmpy{2py27,2py39,2py310,py27,py39,py310}: hypothesis
# six==1.9.0 comes from setup.py install_requires
py27_old_six: six==1.9.0
py27_old_six: pytest
Expand Down Expand Up @@ -50,12 +50,18 @@ basepython=python2.7
[testenv:gmpypy39]
basepython=python3.9

[testenv:gmpypy310]
basepython=python3.10

[testenv:gmpy2py27]
basepython=python2.7

[testenv:gmpy2py39]
basepython=python3.9

[testenv:gmpy2py310]
basepython=python3.10

[testenv:instrumental]
basepython = python2.7
deps =
Expand Down

0 comments on commit 8eb0731

Please sign in to comment.