[tox] minversion = 2.0 # add docs to the list of environments once we actually have docs to generate envlist = molecule, linters skipdist = True [testenv] usedevelop = True install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} {opts} {packages} passenv = * sitepackages = True deps = -r {toxinidir}/molecule-requirements.txt changedir = {toxinidir}/tripleo_ipa commands = molecule test --all whitelist_externals = tox [testenv:ansible-lint] deps = {[testenv:linters]deps} commands = ansible-lint {toxinidir}/tripleo_ipa [testenv:yamllint] deps = {[testenv:linters]deps} commands = yamllint -c {toxinidir}/tripleo_ipa/.yamllint {toxinidir}/tripleo_ipa [testenv:linters] deps = -r {toxinidir}/test-requirements.txt commands = {[testenv:ansible-lint]commands} {[testenv:yamllint]commands}