Merge "Add safety check output to the linters output"

This commit is contained in:
Zuul 2019-05-14 16:47:38 +00:00 committed by Gerrit Code Review
commit e91609fdbe
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,7 @@ commands = {[testenv:linters]commands}
deps =
hacking>=1.0.0
bashate>=0.5.1
safety
whitelist_externals = bash
commands =
flake8
@ -61,6 +62,8 @@ commands =
-type f \
-name \*.sh \
-print0 | xargs -0 bashate -v -iE006,E010"
bash -c 'sed -e "s,===,==," upper-constraints.txt > {envtmpdir}/safety-check.txt'
-safety check --json -r {envtmpdir}/safety-check.txt
[testenv:bindep]
# Do not install any requirements. We want this to be fast and work even if