diff --git a/.gitlab/pipeline/clang-tidy.yml b/.gitlab/pipeline/clang-tidy.yml index daa8be55..cb7198a9 100644 --- a/.gitlab/pipeline/clang-tidy.yml +++ b/.gitlab/pipeline/clang-tidy.yml @@ -17,6 +17,8 @@ clang-tidy: - git fetch --depth 1 origin $CI_MERGE_REQUEST_DIFF_BASE_SHA - CHANGED_FILES=$(git diff-tree --name-only -r $CI_MERGE_REQUEST_DIFF_BASE_SHA $CI_COMMIT_SHA '***.cpp' '***.hpp' '***.c' '***.h') - echo $CHANGED_FILES + - ls + - ls build - clang-tidy -p build --use-color --export-fixes=errors.yml $CHANGED_FILES rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'