
We have been using the following ansible playbooks for testing feature/zuulv3 of zuul. This commit copies the playbooks from zuul and imports them here. Change-Id: Ib776cdce10b1f05501c46f6cf359723960f1bc71 Depends-On: I11da723df8823091f25e2a630e80ee4270d99a9b Depends-On: Ic03634dd02d2eb1fa5aa8a38f4beb5f0ec5582c6 Co-Authored-By: Andreas Jaeger <aj@suse.com> Signed-off-by: Paul Belanger <pabelanger@redhat.com>
32 lines
869 B
INI
32 lines
869 B
INI
[tox]
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
envlist = pep8, py27
|
|
|
|
[testenv]
|
|
install_command = pip install {opts} {packages}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
commands =
|
|
python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:bindep]
|
|
# Do not install any requirements. We want this to be fast and work even if
|
|
# system dependencies are missing, since it's used to tell you what system
|
|
# dependencies are missing! This also means that bindep must be installed
|
|
# separately, outside of the requirements files.
|
|
deps = bindep
|
|
commands = bindep test
|
|
|
|
[testenv:pep8]
|
|
commands = flake8 {posargs}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
# These are ignored intentionally in openstack-infra projects;
|
|
# please don't submit patches that solely correct them or enable them.
|
|
ignore = E125,E129,H
|
|
show-source = True
|
|
exclude = .venv,.tox,dist,doc,build,*.egg
|