tox.ini 647 B

12345678910111213141516171819202122232425
  1. [tox]
  2. envlist =
  3. py36-{unit,flake8,pylint,yamllint,ansible_syntax}
  4. skipsdist=True
  5. skip_missing_interpreters=True
  6. [testenv]
  7. skip_install=True
  8. setenv =
  9. ANSIBLE_CONFIG = ./ansible.cfg
  10. ANSIBLE_INVENTORY = {toxinidir}/test/tox-inventory.txt
  11. ANSIBLE_LOG_PATH=/tmp/tox/ansible/ansible.log
  12. ANSIBLE_LOCAL_TEMP=/tmp/tox/ansible
  13. ANSIBLE_CACHE_PLUGIN_CONNECTION=/tmp/tox/ansible/facts
  14. deps =
  15. -rrequirements.txt
  16. -rtest-requirements.txt
  17. commands =
  18. unit: pytest {posargs}
  19. flake8: flake8 {posargs}
  20. pylint: python setup.py lint
  21. yamllint: python setup.py yamllint
  22. ansible_syntax: python setup.py ansible_syntax