tox testing fails if no files match search criteria

Change-Id: I81ff243ab46ef2ab07b09eb68ce550115db4eaf1
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
Scott Little 2018-08-03 09:37:57 -04:00
parent 9e1e7011c6
commit f9aabddda6
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