diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 92699aed..f0a95612 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,12 +18,6 @@ build:
   before_script:
      - apt update && apt -y install make cmake ninja-build pkg-config xorg-dev libgtk-3-dev python3 python3-mypy
   script:
-    - make purge configure-release install
-
-# run tests using the binary built before
-test:
-  stage: test
-  script:
-    - make configure-release test
-    - make configure-debug test
-    - make configure-asan test
+    - make purge configure-release test install
+    - make purge configure-debug test install
+    - make purge configure-asan test install