system-config/tox.ini
Ian Wienand 6892b11603 Add nodepool config-validation environment
Add validation test for the nodepool configuration.  We get nodepool
directly from git so we can always handle the latest syntax changes
automatically.

Change-Id: I5d58648bca160d8afc81aae3d8daf0c7bd01c976
Depends-On: I250ea4959740cfc4650e9057caba09ae7bc25768
2015-03-19 00:55:40 +00:00

30 lines
572 B
INI

[tox]
minversion = 1.6
envlist = pep8
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[flake8]
show-source = True
exclude = .tox
ignore = E125,H
select = H231
[testenv:bashate]
commands = {toxinidir}/tools/run-bashate.sh
[testenv:nodepool]
commands = nodepool -c {toxinidir}/modules/openstack_project/templates/nodepool/nodepool.yaml.erb config-validate