Merge pull request #1328 from return42/yaml-strict

[fix] test.yamllint: return non-zero exit code on warnings
This commit is contained in:
Alexandre Flament 2022-06-18 08:53:07 +02:00 committed by GitHub
commit 43b8b64866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

3
manage
View File

@ -661,7 +661,8 @@ format.python() {
test.yamllint() {
build_msg TEST "[yamllint] \$YAMLLINT_FILES"
pyenv.cmd yamllint --format parsable "${YAMLLINT_FILES[@]}"
pyenv.cmd yamllint --strict --format parsable "${YAMLLINT_FILES[@]}"
dump_return $?
}
test.pylint() {