22 lines
411 B
INI
22 lines
411 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = linters
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:ansible-lint]
|
|
whitelist_externals = bash
|
|
commands =
|
|
bash -c "find . -type f -regex '.*.y[a]?ml' -execdir ansible-lint \{\} \;"
|
|
|
|
[testenv:linters]
|
|
whitelist_externals = bash
|
|
commands =
|
|
ansible-lint {toxinidir}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|