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.
This commit is contained in:
Benjamin Berg 2020-06-02 12:28:09 +02:00 committed by Benjamin Berg
parent e4f9935706
commit 8626c64831

View file

@ -103,7 +103,9 @@ test_indent:
variables: variables:
- $CI_PIPELINE_SOURCE == "schedule" - $CI_PIPELINE_SOURCE == "schedule"
script: script:
- scripts/uncrustify.sh --check - scripts/uncrustify.sh
- git diff
- "! git status -s | grep -q ."
.flatpak_script_template: &flatpak_script .flatpak_script_template: &flatpak_script
script: script: