goal-tools/tox.ini
Ghanshyam Mann 834fe66323 Switch to the latest testing runtime
Change-Id: I3ab844e6727519e5a62401b44166e41d8d7a2582
2024-08-01 16:42:49 -07:00

33 lines
530 B
INI

[tox]
minversion = 2.0
envlist = py3,pep8
[testenv]
usedevelop = True
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
setenv =
PYTHON=coverage run --source goal_tools --parallel-mode
passenv =
ZUUL_CACHE_DIR
commands =
stestr run {posargs}
stestr slowest
coverage combine
coverage report -m
[testenv:pep8]
deps =
flake8
commands =
flake8
[testenv:venv]
commands = {posargs}
[flake8]
show-source = True
enable-extensions = H203,H106
exclude = .tox,dist,doc,*.egg,build