tox.ini (1041B)
1 [tox] 2 minversion = 3.14.0 3 envlist = py37, py38, py39, py310, py311, lint, version-info, pytest-min 4 isolated_build = true 5 passenv = 6 CI 7 8 [testenv] 9 extras = testing 10 deps = 11 --requirement dependencies/default/requirements.txt 12 --constraint dependencies/default/constraints.txt 13 commands = make test 14 allowlist_externals = 15 make 16 17 [testenv:pytest-min] 18 extras = testing 19 deps = 20 --requirement dependencies/pytest-min/requirements.txt 21 --constraint dependencies/pytest-min/constraints.txt 22 commands = make test 23 allowlist_externals = 24 make 25 26 [testenv:lint] 27 basepython = python3.10 28 extras = testing 29 deps = 30 pre-commit == 2.16.0 31 commands = 32 make lint 33 allowlist_externals = 34 make 35 36 [testenv:coverage-report] 37 deps = coverage 38 skip_install = true 39 commands = 40 coverage combine 41 coverage report 42 43 [testenv:version-info] 44 deps = 45 packaging == 21.3 46 commands = 47 python ./tools/get-version.py 48 49 [gh-actions] 50 python = 51 3.7: py37, pytest-min 52 3.8: py38 53 3.9: py39 54 3.10: py310 55 3.11-dev: py311 56 pypy3: pypy3