ci: check traces.yml files with yamllint

Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18329>
This commit is contained in:
David Heidelberg
2022-09-03 21:06:09 +02:00
committed by Marge Bot
parent 3242972cac
commit 2b8a14e076
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -186,6 +186,7 @@ debian-build-testing:
script:
- .gitlab-ci/lava/lava-pytest.sh
- .gitlab-ci/run-shellcheck.sh
- .gitlab-ci/run-yamllint.sh
- .gitlab-ci/meson/build.sh
- .gitlab-ci/run-shader-db.sh
+1
View File
@@ -51,6 +51,7 @@ apt-get install -y --no-remove \
shellcheck \
strace \
time \
yamllint \
zstd
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -e
# Run yamllint against all traces files.
find . -name '*traces*yml' -exec yamllint -d "{rules: {line-length: {max: 150}}}" {} \;