Restore check/audit test in tox.ini
The check/audit mode test in tox.ini was removed in If42e739002e36669044a9396e233dbd382add4c8 with the tox.ini cleanup. This patch adds it back into tox.ini so that it runs prior to the functional tests. Change-Id: I1842c8170ec532baf713ab789ffe389369c5e48e
This commit is contained in:
8
tox.ini
8
tox.ini
@@ -165,6 +165,14 @@ setenv =
|
|||||||
# to true.
|
# to true.
|
||||||
commands =
|
commands =
|
||||||
{[testenv:ansible]commands}
|
{[testenv:ansible]commands}
|
||||||
|
# NOTE(mhayden): Check/audit mode is a feature of the role and it should
|
||||||
|
# be tested prior to running the functional test.
|
||||||
|
ansible-playbook --check \
|
||||||
|
-i {toxinidir}/tests/inventory \
|
||||||
|
-e "rolename={toxinidir}" \
|
||||||
|
-e "install_test_packages=True" \
|
||||||
|
--skip-tag V-38462 \
|
||||||
|
{toxinidir}/tests/test_check.yml -vvvv
|
||||||
ansible-playbook -i {toxinidir}/tests/inventory \
|
ansible-playbook -i {toxinidir}/tests/inventory \
|
||||||
-e "rolename={toxinidir}" \
|
-e "rolename={toxinidir}" \
|
||||||
-e "install_test_packages=True" \
|
-e "install_test_packages=True" \
|
||||||
|
|||||||
Reference in New Issue
Block a user