Skip to content
Snippets Groups Projects
Verified Commit a06d0446 authored by Lars Bilke's avatar Lars Bilke
Browse files

[ci] Run clang-format only on .h and .cpp files.

parent dd0afe59
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ clang-format:
needs: [ci_images]
allow_failure: true
script:
- git clang-format ${CI_MERGE_REQUEST_TARGET_BRANCH_SHA}
- git clang-format --extensions "h,cpp" ${CI_MERGE_REQUEST_TARGET_BRANCH_SHA}
- if [[ $(git diff) ]]; then exit 1; fi
after_script:
- git diff
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment