log yamllint output to its own file
Adjust the tox log wrapper so it works with the full path to the script for running yamllint, then add it to the step for running yamllint so the results are logged to a separate file. Change-Id: I98561e17e4fa76aeee9adfd57d9e71a7f229e536 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
12f0400696
commit
248aca1a48
@ -17,7 +17,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
cmd="$1"
|
cmd=$(basename "$1" | cut -f1 -d.)
|
||||||
shift
|
shift
|
||||||
|
|
||||||
if [ -z "$LOGDIR" ]; then
|
if [ -z "$LOGDIR" ]; then
|
||||||
|
2
tox.ini
2
tox.ini
@ -23,7 +23,7 @@ commands =
|
|||||||
deps =
|
deps =
|
||||||
yamllint==1.4.1
|
yamllint==1.4.1
|
||||||
commands =
|
commands =
|
||||||
{toxinidir}/tools/run_yamllint.sh
|
{toxinidir}/tools/tox-log-command.sh {toxinidir}/tools/run_yamllint.sh
|
||||||
{toxinidir}/tools/tox-log-command.sh validate-request {posargs}
|
{toxinidir}/tools/tox-log-command.sh validate-request {posargs}
|
||||||
|
|
||||||
[testenv:list-changes]
|
[testenv:list-changes]
|
||||||
|
Loading…
Reference in New Issue
Block a user