Allow passing arguments to tox
Pass extra arguments to tests. This allows to run for example: tox -- --force Also reorder elements of envlist. Change-Id: I6377da8dec6b6b15a6ea3899e2651cfd40b221f0
This commit is contained in:
parent
af9e1b44e4
commit
db7c4fa3fd
10
tox.ini
10
tox.ini
@ -1,6 +1,6 @@
|
||||
[tox]
|
||||
minversion = 1.6
|
||||
envlist = checkbuild,checkdeletions,checkniceness,checksyntax
|
||||
envlist = checkniceness,checksyntax,checkdeletions,checkbuild
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
@ -15,13 +15,13 @@ deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:checkniceness]
|
||||
commands = openstack-doc-test --check-niceness
|
||||
commands = openstack-doc-test --check-niceness {posargs}
|
||||
|
||||
[testenv:checksyntax]
|
||||
commands = openstack-doc-test --check-syntax
|
||||
commands = openstack-doc-test --check-syntax {posargs}
|
||||
|
||||
[testenv:checkdeletions]
|
||||
commands = openstack-doc-test --check-deletions
|
||||
commands = openstack-doc-test --check-deletions {posargs}
|
||||
|
||||
[testenv:checkbuild]
|
||||
commands = openstack-doc-test --check-build
|
||||
commands = openstack-doc-test --check-build {posargs}
|
||||
|
Loading…
Reference in New Issue
Block a user