From aad6ad06b85657cddbb42fd221a9b455464b57bd Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Fri, 8 Jun 2018 17:19:00 -0500 Subject: [PATCH] Add bashate job nonvotingwq Change-Id: I3d888ec621b50f6ac90d92c8f586ef2d577a780e --- .zuul.yaml | 6 ++++-- test-requirements.txt | 1 + tox.ini | 7 +++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 7ccbd0a6..3a27ad8b 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -2,7 +2,9 @@ - project: check: jobs: - - openstack-tox-linters + - openstack-tox-linters: + voting: false gate: jobs: - - openstack-tox-linters + - openstack-tox-linters: + voting: false diff --git a/test-requirements.txt b/test-requirements.txt index 266f880b..4dfcd348 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,2 +1,3 @@ +bashate >= 0.2 PyYAML>=3.1.0 yamllint>=0.5.2 diff --git a/tox.ini b/tox.ini index 4e2fa48d..0e4f4f83 100644 --- a/tox.ini +++ b/tox.ini @@ -19,6 +19,13 @@ commands = \( -name .tox -prune \) \ -o -type f -name '*.yaml' \ -print0 | xargs -0 yamllint" + bash -c "find {toxinidir} \ + -not \( -type d -name .?\* -prune \) \ + -type f \ + -not -name \*~ \ + -not -name \*.md \ + -name \*.sh \ + -print0 | xargs -0 bashate -v" [testenv:venv] commands = {posargs}