1afbccbea3
Use doc-test-exceptions.txt to contain list of files to ignore for gating tests. Change-Id: Id0748289747f94598542a85e3caf7fb5a00aaa7d
28 lines
725 B
INI
28 lines
725 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = checkniceness,checksyntax,checkdeletions,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 --check-niceness {posargs}
|
|
|
|
[testenv:checksyntax]
|
|
commands = openstack-doc-test --exceptions-file doc-test-exceptions.txt --check-syntax {posargs}
|
|
|
|
[testenv:checkdeletions]
|
|
commands = openstack-doc-test --exceptions-file doc-test-exceptions.txt --check-deletions {posargs}
|
|
|
|
[testenv:checkbuild]
|
|
commands = openstack-doc-test --exceptions-file doc-test-exceptions.txt --check-build {posargs}
|