]> git.phdru.name Git - mimedecode.git/blobdiff - tox.ini
CI(GHActions): Python 3.10
[mimedecode.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 48c62674c48338851a3d790d52429e60ffbbabf0..7c4123d16836e670bd8b00df855a604fc8c9212e 100644 (file)
--- 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