2016-12-21 17:15:42 -05:00
|
|
|
[tox]
|
2024-10-18 08:10:28 -04:00
|
|
|
envlist =
|
|
|
|
|
py39-{unit,flake8,pylint,yamllint,ansible_syntax}
|
2016-12-21 17:15:42 -05:00
|
|
|
skipsdist=True
|
|
|
|
|
skip_missing_interpreters=True
|
|
|
|
|
|
|
|
|
|
[testenv]
|
2017-03-06 12:39:20 -05:00
|
|
|
skip_install=True
|
2019-05-23 13:28:54 -04:00
|
|
|
setenv =
|
2019-07-31 16:01:01 -04:00
|
|
|
ANSIBLE_CONFIG = ./ansible.cfg
|
2019-05-23 13:28:54 -04:00
|
|
|
ANSIBLE_INVENTORY = {toxinidir}/test/tox-inventory.txt
|
|
|
|
|
ANSIBLE_LOG_PATH=/tmp/tox/ansible/ansible.log
|
|
|
|
|
ANSIBLE_LOCAL_TEMP=/tmp/tox/ansible
|
|
|
|
|
ANSIBLE_CACHE_PLUGIN_CONNECTION=/tmp/tox/ansible/facts
|
|
|
|
|
|
2016-12-21 17:15:42 -05:00
|
|
|
deps =
|
2017-03-06 12:39:20 -05:00
|
|
|
-rrequirements.txt
|
2016-12-21 17:15:42 -05:00
|
|
|
-rtest-requirements.txt
|
2016-11-04 18:30:34 +01:00
|
|
|
|
2016-12-21 17:15:42 -05:00
|
|
|
commands =
|
2024-10-18 08:10:28 -04:00
|
|
|
unit: pytest {posargs}
|
|
|
|
|
flake8: flake8 {posargs}
|
|
|
|
|
pylint: python setup.py lint
|
|
|
|
|
yamllint: python setup.py yamllint
|
|
|
|
|
ansible_syntax: python setup.py ansible_syntax
|