Add tox -evenv entry
This allows to install the ansible dependency if we want to run a playbook. Change-Id: Ia5ea5604331b739fe12e3103c4f645e221285af3 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
4a622fe8d8
commit
5693f31823
12
tox.ini
12
tox.ini
@ -15,6 +15,18 @@ commands =
|
||||
flake8
|
||||
bash -c "ansible-lint -x 405 playbooks/*/*.yaml"
|
||||
|
||||
[testenv:venv]
|
||||
basepython = python3
|
||||
commands = {posargs}
|
||||
passenv =
|
||||
HOME
|
||||
SSH_AUTH_SOCK
|
||||
TERM
|
||||
USER
|
||||
setenv =
|
||||
ANSIBLE_CALLBACK_PLUGINS = {envsitepackagesdir}/ara/plugins/callbacks
|
||||
PYTHONUNBUFFERED = 1
|
||||
|
||||
[flake8]
|
||||
# E123, E125 skipped as they are invalid PEP-8.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user