diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 0000000..7a78699 --- /dev/null +++ b/.zuul.yaml @@ -0,0 +1,7 @@ +- project: + check: + jobs: + - tox-linters + gate: + jobs: + - tox-linters diff --git a/tox.ini b/tox.ini index 380fb70..c6ab94c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 1.6 -envlist = ansible-lint +envlist = linters skipsdist = True [testenv] @@ -12,5 +12,10 @@ whitelist_externals = bash commands = bash -c "find . -type f -regex '.*.y[a]?ml' -execdir ansible-lint \{\} \;" +[testenv:linters] +whitelist_externals = bash +commands = + {[testenv:ansible-lint]commands} + [testenv:venv] commands = {posargs}