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 30 31 32 33 34
|
[tox]
env_list =
py3
minversion = 4.21.2
[testenv]
description = run the tests with pytest
package = wheel
wheel_build_env = .pkg
passenv =
# This allows tox environment on a DevBox to trigger host browser
DISPLAY
deps =
pytest>=6
-r requirements.txt
commands =
pip list
{posargs:pytest --color=yes}
[testenv:docs]
deps =
-r docs/requirements.txt
commands =
sphinx-build docs docs/_build
[testenv:azcli]
deps =
azure-cli
commands_pre =
# It will unfortunately be run every time but luckily subsequent runs are fast.
pip install -e .
commands =
pip list
{posargs:az --version}
|