[tox] | |
basepython = py36 | |
minversion = 2.5 | |
skipsdist = true | |
envlist = yamllint | |
install_command = pip install {opts} {packages} | |
deps = -r{toxinidir}/test-requirements.txt | |
[testenv:yamllint] | |
# TODO: set ignore_outcome to false once issues are fixed | |
ignore_outcome = true | |
whitelist_externals = bash | |
commands = | |
bash -c "find {toxinidir}/pods -type f -regex '.*.ya?ml' -print0 | \ | |
xargs -t -n1 -0 yamllint --format standard --strict" |