33 lines
891 B
INI
33 lines
891 B
INI
[tox]
|
|
distshare = {homedir}/.tox/distshare
|
|
envlist = py{3.9,3.10,3.11}-pytest{7.0,7.1,7.2,7.3,7.4,8.0,8.1,8.2,8.3,latest}-coverage
|
|
py{3.12,3.13}-pytest{7.3,7.4,8.0,8.1,8.2,8.3,latest}-coverage
|
|
py3.12-pytestlatest-xdist-coverage
|
|
mypy
|
|
|
|
[testenv]
|
|
parallel_show_output = true
|
|
setenv =
|
|
coverage: _PYTEST_CMD=coverage run -m pytest
|
|
xdist: _PYTEST_MORE_ARGS=-n3 -rfsxX
|
|
deps =
|
|
pytestlatest: pytest
|
|
pytest8.1: pytest~=8.1.0
|
|
pytest8.0: pytest~=8.0.0
|
|
pytest7.4: pytest~=7.4.0
|
|
pytest7.3: pytest~=7.3.0
|
|
pytest7.2: pytest~=7.2.0
|
|
pytest7.1: pytest~=7.1.0
|
|
pytest7.0: pytest~=7.0.0
|
|
|
|
coverage: coverage[toml]
|
|
xdist: pytest-xdist
|
|
commands = {env:_PYTEST_CMD:pytest} {env:_PYTEST_MORE_ARGS:} {posargs:-vvl}
|
|
|
|
[testenv:mypy]
|
|
skip_install = true
|
|
allowlist_externals = poetry
|
|
commands_pre =
|
|
poetry install --with=dev
|
|
commands = mypy
|