
Pass extra arguments to tests. This allows to run for example: tox -- --force Also reorder elements of envlist. Change-Id: Ia40305ccc02ef25e858bdace380f17ccce4b8646
25 lines
536 B
INI
25 lines
536 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = checkniceness,checksyntax,checkbuild
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
LANG=en_US.UTF-8
|
|
LANGUAGE=en_US:en
|
|
LC_ALL=C
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:checkniceness]
|
|
commands = openstack-doc-test --api-site --check-niceness {posargs}
|
|
|
|
[testenv:checksyntax]
|
|
commands = openstack-doc-test --api-site --check-syntax {posargs}
|
|
|
|
[testenv:checkbuild]
|
|
commands = openstack-doc-test --api-site --check-build {posargs}
|