diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4c9ea79e88cbcd00c38e7e0858017801b951f659..f27336f7299ea79b5389fcf4fbe134ccd4aea550 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,6 +9,8 @@ centos_run:
   stage: test
   tags:
     - centos
+  dependencies:
+    - centos_build
   script:
     - ./src/mem
     - ./success.sh 2 centos openfpm_devices
@@ -24,6 +26,8 @@ mac_run:
   stage: test
   tags:
     - mac
+  dependencies:
+    - mac_build
   script:
     - ./src/mem
     - ./success.sh 2 mac openfpm_devices
@@ -39,6 +43,8 @@ ubuntu_run:
   stage: test
   tags:
     - ubuntu
+  dependencies:
+    - ubuntu_build
   script:
     - ./src/mem
     - ./success.sh 2 ubuntu openfpm_devices