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

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() {