tox testing fails if no files match search criteria

Change-Id: I439bf32cf11b72085f1c91cd1fbc64f069836929
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
Scott Little 2018-08-03 09:36:18 -04:00
parent c815daddae
commit cfd5f1b27f
1 changed files with 2 additions and 2 deletions

View File

@ -21,12 +21,12 @@ commands =
-not -name \*~ \
-not -name \*.md \
-name \*.sh \
-print0 | xargs -0 bashate -v"
-print0 | xargs -0 --no-run-if-empty bashate -v"
bash -c "find {toxinidir} \
\( -name middleware/io-monitor/recipes-common/io-monitor/io-monitor/io_monitor/test-tools/yaml/* -prune \) \
-o \( -name .tox -prune \) \
-o -type f -name '*.yaml' \
-print0 | xargs -0 yamllint"
-print0 | xargs -0 --no-run-if-empty yamllint"
[testenv:pep8]
usedevelop = False