
Exclude known problematic files from testing. This requires the just released 0.4 version of openstack-doc-tools. Change-Id: I396b069289dbcf31490a93ad61ad22ead755ea4b
28 lines
773 B
INI
28 lines
773 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 --api-site --check-niceness {posargs}
|
|
|
|
[testenv:checksyntax]
|
|
commands = openstack-doc-test --api-site --exceptions-file=doc-test-exceptions.txt --check-syntax {posargs}
|
|
|
|
[testenv:checkdeletions]
|
|
commands = openstack-doc-test --api-site --exceptions-file=doc-test-exceptions.txt --check-deletions {posargs}
|
|
|
|
[testenv:checkbuild]
|
|
commands = openstack-doc-test --api-site --exceptions-file=doc-test-exceptions.txt --check-build {posargs}
|