1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
[tox]
isolated_build = true
envlist = py{36,37,38,39,310,311,312,py3}, type
skip_missing_interpreters = True
[testenv]
description = Run the tests under {basepython}
deps = pytest
commands = pytest tests.py {posargs}
[testenv:type]
description = Check typing of looseversion
deps =
mypy
pytest
commands =
mypy src tests.py {posargs}
stubtest looseversion
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311, type
3.12: py312
pypy-3.7: pypy3
|