python-rsrcfork/tox.ini
dgelessus f437ee5f43 Reduce test matrix to just the oldest and newest Python versions
Testing the versions in between doesn't really bring much benefit, and
it becomes impractical when the range of supported versions grows.
2021-11-21 18:24:17 +01:00

29 lines
529 B
INI

[tox]
# When updating the Python versions here,
# please also update the corresponding Python versions in the GitHub Actions workflow (.github/workflows/ci.yml).
envlist = py{36,39},flake8,mypy,package
[testenv]
commands = python -m unittest discover --start-directory ./tests
[testenv:flake8]
deps =
flake8 >= 3.8.0
flake8-bugbear
flake8-tabs
commands = flake8
[testenv:mypy]
deps =
mypy
commands = mypy
[testenv:package]
deps =
twine
wheel >= 0.32.0
commands =
python setup.py sdist bdist_wheel
twine check dist/*