Restart services and coordinate data migration on Heat config changes.
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 853B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [tox]
  2. minversion = 2.0
  3. skipsdist = True
  4. envlist = py27,pep8
  5. [testenv]
  6. usedevelop = True
  7. deps =
  8. -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
  9. -r{toxinidir}/requirements.txt
  10. -r{toxinidir}/test-requirements.txt
  11. install_command = pip install {opts} {packages}
  12. commands =
  13. stestr run --slowest {posargs}
  14. [tox:jenkins]
  15. sitepackages = True
  16. [testenv:pep8]
  17. basepython = python3
  18. commands = flake8
  19. [testenv:cover]
  20. basepython = python3
  21. setenv =
  22. PYTHON=coverage run --source os_refresh_config --parallel-mode
  23. commands =
  24. stestr run {posargs}
  25. coverage combine
  26. coverage html -d cover
  27. coverage xml -o cover/coverage.xml
  28. [testenv:venv]
  29. basepython = python3
  30. commands = {posargs}
  31. [flake8]
  32. ignore = E125
  33. exclude = .venv,.tox,dist,doc,*.egg
  34. show-source = true