X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=tox.ini;h=7c4123d16836e670bd8b00df855a604fc8c9212e;hb=8b4ab222bb55d5b384c97c11aa492bd098a16f11;hp=48c62674c48338851a3d790d52429e60ffbbabf0;hpb=2efd81f8b9df48451da24b578e0c3b2dffe53c97;p=mimedecode.git diff --git a/tox.ini b/tox.ini index 48c6267..7c4123d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,19 +1,17 @@ -# Tox (http://tox.testrun.org/) is a tool for running tests -# in multiple virtualenvs. This configuration file will run the -# test suite on all supported python versions. To use it, "pip install tox" -# and then run "tox" from this directory. - [tox] minversion = 2.0 -envlist = py27, py33, py34, py35, py36, pypy +envlist = py27,py3{4,5,6,7,8,9,10},pypy [testenv] basepython = py27: {env:TOXPYTHON:python2.7} - py33: {env:TOXPYTHON:python3.3} py34: {env:TOXPYTHON:python3.4} py35: {env:TOXPYTHON:python3.5} py36: {env:TOXPYTHON:python3.6} + py37: {env:TOXPYTHON:python3.7} + py38: {env:TOXPYTHON:python3.8} + py39: {env:TOXPYTHON:python3.9} + py310: {env:TOXPYTHON:python3.10} pypy: {env:TOXPYTHON:pypy} deps = -rdevscripts/requirements/requirements_tests.txt @@ -23,3 +21,14 @@ commands = {envpython} -c "import struct; print(struct.calcsize('P') * 8)" ./test_all passenv = HOME + +[gh-actions] +python = + 2.7: py27 + 3.5: py35 + 3.6: py36 + 3.7: py37 + 3.8: py38 + 3.9: py39 + 3.10: py310 + pypy-2.7: pypy