diff --git a/tox.ini b/tox.ini index 776c48e..eeaa1b8 100644 --- a/tox.ini +++ b/tox.ini @@ -61,6 +61,7 @@ commands = [testenv:tests_clone] +basepython = python3 commands = bash -c "if [ ! -d "{toxinidir}/tests/common" ]; then \ git clone https://git.openstack.org/openstack/openstack-ansible-tests {toxinidir}/tests/common; \ @@ -83,18 +84,21 @@ ignore=F403,H303 [testenv:bashate] +basepython = python3 commands = {[testenv:tests_clone]commands} bash -c "{toxinidir}/tests/common/test-bashate.sh" [testenv:ansible-syntax] +basepython = python3 commands = {[testenv:tests_clone]commands} bash -c "{toxinidir}/tests/common/test-ansible-syntax.sh" [testenv:ansible-lint] +basepython = python3 commands = {[testenv:tests_clone]commands} bash -c "{toxinidir}/tests/common/test-ansible-lint.sh"