Builds Ansible Playbook Bundles for use in Automation Broker to expose OpenStack resources in the Kubernetes Service Catalog.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tox.ini 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [tox]
  2. minversion = 2.0
  3. envlist = pep8
  4. skipsdist = True
  5. [testenv]
  6. usedevelop = True
  7. install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
  8. setenv =
  9. VIRTUAL_ENV={envdir}
  10. PYTHONWARNINGS=default::DeprecationWarning
  11. OS_STDOUT_CAPTURE=1
  12. OS_STDERR_CAPTURE=1
  13. OS_TEST_TIMEOUT=60
  14. deps = -r{toxinidir}/test-requirements.txt
  15. commands = stestr run {posargs}
  16. [testenv:pep8]
  17. commands = flake8 {posargs}
  18. [testenv:venv]
  19. commands = {posargs}
  20. [testenv:docs]
  21. basepython = python3
  22. deps = -r{toxinidir}/doc/requirements.txt
  23. commands = sphinx-build -W -b html doc/source doc/build/html
  24. [testenv:releasenotes]
  25. deps = -r{toxinidir}/doc/requirements.txt
  26. commands =
  27. sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
  28. [testenv:debug]
  29. commands = oslo_debug_helper {posargs}
  30. [flake8]
  31. # E123, E125 skipped as they are invalid PEP-8.
  32. show-source = True
  33. ignore = E123,E125
  34. builtins = _
  35. exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build