tripleo-ipa/tox.ini
Lance Bragstad 855218ba52 Initialize repo and integrate zuul
This patch:

 - adds a basic skeleton role for tripleo_ipa generated from molecule
 - trivial additions to .gitignore
 - adds molecule-requirements.txt
 - invokes molecule using tox
 - adds basic plumbing so that we can invoke tests using zuul and
   locally with some handy scripts

Each entry above was originally its own patch. We're consolidating them
into a single patch so that we can introduce zuul, which needs to verify
patches before we can merge them.

If you want to run tests locally, you can use the
`scripts/run-local-test` script:

  $ bash scripts/run-local-test

Which will setup dependencies from zuul, install a virtualenv, and
invoke tox.

Change-Id: If9446f5597d0150a2694e655dbb45475ce38a426
2020-03-18 00:41:55 +00:00

18 lines
505 B
INI

[tox]
minversion = 2.0
# add docs to the list of environments once we actually have docs to generate
envlist = molecule
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