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:
committed by
Marge Bot
parent
3242972cac
commit
2b8a14e076
@@ -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
|
||||
|
||||
|
||||
@@ -51,6 +51,7 @@ apt-get install -y --no-remove \
|
||||
shellcheck \
|
||||
strace \
|
||||
time \
|
||||
yamllint \
|
||||
zstd
|
||||
|
||||
|
||||
|
||||
Executable
+5
@@ -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}}}" {} \;
|
||||
Reference in New Issue
Block a user