From 8626c648314fa25e42a9205444bf52441e785ae2 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Tue, 2 Jun 2020 12:28:09 +0200 Subject: [PATCH] ci: Output diff of uncrustify check Not having the diff is a bit painfull when the local version of uncrustify differs from the one on the CI runner. So uncrustify in-place and output the diff. --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1a0f9e08..cb7b92b5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -103,7 +103,9 @@ test_indent: variables: - $CI_PIPELINE_SOURCE == "schedule" script: - - scripts/uncrustify.sh --check + - scripts/uncrustify.sh + - git diff + - "! git status -s | grep -q ." .flatpak_script_template: &flatpak_script script: