Browse Source

Merge "tox testing fails if no files match search criteria"

changes/73/600173/1
Zuul 9 months ago
parent
commit
28cfbbf037
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      tox.ini

+ 2
- 2
tox.ini View File

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

Loading…
Cancel
Save