add tox config

This commit is contained in:
Ben Maddison 2021-05-06 09:23:44 +02:00
parent 4a14b55762
commit 20f8e36d80
2 changed files with 14 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
# pycrate ASN.1 temporary test directory
test_asn/
test_asn_todelete/
.tox/
# special files
cythonize_pycrate.py

13
tox.ini Normal file
View File

@ -0,0 +1,13 @@
[tox]
envlist = py36,py37,py38,py39
[testenv]
passenv = TERM
commands = python setup.py test
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39