From 728335581f977c2afbc2ca57cfaec6a70f8f94cf Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Tue, 19 Nov 2019 16:32:46 +0100 Subject: [PATCH] ci: Run uncrustify in test mode Add a simple check that no one introduced whitespace errors. --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5441ee31..20257bde 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,6 +48,12 @@ test: - ninja -C _build - meson test -C _build --verbose --no-stdsplit +test_indent: + stage: test + script: + - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck git uncrustify + - scripts/uncrustify.sh --check + .flatpak_script_template: &flatpak_script script: - flatpak-builder --stop-at=${FLATPAK_MODULE} app ${MANIFEST_PATH}