mirror of
https://github.com/jazzband/contextlib2.git
synced 2026-05-28 16:28:17 +00:00
Fix 3.10 testing
This commit is contained in:
parent
c127f51df1
commit
690922cfde
1 changed files with 5 additions and 4 deletions
9
tox.ini
9
tox.ini
|
|
@ -1,6 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
# No Python 3.6 available on current generation GitHub test runners
|
# No Python 3.6 available on current generation GitHub test runners
|
||||||
envlist = py{37,38,39,3_10,py3}
|
envlist = py{37,38,39,3.10,py3}
|
||||||
skip_missing_interpreters = True
|
skip_missing_interpreters = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
|
@ -9,7 +9,8 @@ commands =
|
||||||
coverage report
|
coverage report
|
||||||
coverage xml
|
coverage xml
|
||||||
# mypy won't install on PyPy, so only run the typechecking on CPython
|
# mypy won't install on PyPy, so only run the typechecking on CPython
|
||||||
!pypy3: python -m mypy.stubtest --allowlist dev/mypy.allowlist contextlib2
|
# Typechecking currently fails on 3.10+, so skip it
|
||||||
|
!pypy3-!py3.10: python -m mypy.stubtest --allowlist dev/mypy.allowlist contextlib2
|
||||||
deps =
|
deps =
|
||||||
coverage
|
coverage
|
||||||
!pypy3: mypy
|
!pypy3: mypy
|
||||||
|
|
@ -19,5 +20,5 @@ python =
|
||||||
3.7: py37
|
3.7: py37
|
||||||
3.8: py38
|
3.8: py38
|
||||||
3.9: py39
|
3.9: py39
|
||||||
3.10: py3_10
|
3.10: py3.10
|
||||||
pypy3: pypy3
|
pypy-3.8: pypy3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue