diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ef84b726429ded9d77d4c2301f3fbadf335b1048..3dbe3ac0855ad25ebdef393752b78ed63d34a091 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -283,7 +283,7 @@ clang-tidy:
     - mkdir -p build_clang_tidy
     - cd build_clang_tidy
     - cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DBUILD_VF_CPU=ON -DBUILD_VF_GPU=OFF
-    - $CI_PROJECT_DIR/utilities/filterCompileCommands.py compile_commands.json
+    - python3 ../utilities/filterCompileCommands.py compile_commands.json
     - run-clang-tidy -quiet > clang-tidy-results.txt
 
   artifacts: