diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 873723222af12035cc32ee17dc923658fea3d497..2ed70e8a8254d61cd7abe48e5baf9dfa1ff4b6d2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,7 @@ before_script:
   - apt-get update -qq
   - apt-get install -y cmake
   - apt-get install -y lcov
-  - apt-get install clang-tidy
+  - apt-get install -y clang-tidy
 # Define the stages of the pipeline
 stages:
   - lint