-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
tox.ini
25 lines (22 loc) · 647 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[tox]
envlist =
py39-{unit,flake8,pylint,yamllint,ansible_syntax}
skipsdist=True
skip_missing_interpreters=True
[testenv]
skip_install=True
setenv =
ANSIBLE_CONFIG = ./ansible.cfg
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
deps =
-rrequirements.txt
-rtest-requirements.txt
commands =
unit: pytest {posargs}
flake8: flake8 {posargs}
pylint: python setup.py lint
yamllint: python setup.py yamllint
ansible_syntax: python setup.py ansible_syntax