pytest-bdd/tox.ini

32 lines
838 B
INI
Raw Normal View History

[tox]
distshare = {homedir}/.tox/distshare
envlist = py{3.8,3.9,3.10,3.11}-pytest{6.2,7.0,7.1,7.2,7.3,7.4,latest}-coverage
py{3.12,3.13}-pytest{7.3,7.4,latest}-coverage
py3.12-pytestlatest-xdist-coverage
2023-01-03 18:29:42 +08:00
mypy
[testenv]
2022-11-05 21:23:59 +08:00
parallel_show_output = true
setenv =
coverage: _PYTEST_CMD=coverage run -m pytest
xdist: _PYTEST_MORE_ARGS=-n3 -rfsxX
deps =
pytestlatest: pytest
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
pytest6.2: pytest~=6.2.0
2022-07-28 02:09:56 +08:00
coverage: coverage[toml]
xdist: pytest-xdist
commands = {env:_PYTEST_CMD:pytest} {env:_PYTEST_MORE_ARGS:} {posargs:-vvl}
2022-02-24 23:52:23 +08:00
[testenv:mypy]
skip_install = true
allowlist_externals = poetry
commands_pre =
poetry install --with=dev
2022-02-24 23:52:23 +08:00
commands = mypy