diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cd94ee93d93cf326dbc0a23af1a66ac51deb665b..023175fc4f5f065e4863915d4eed7fe874e01898 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,15 +7,11 @@
     # - test
     # - deploy
 
-build:
-  image: docker
-  services:
-    - docker:dind
+test:
   tags: 
-    - docker-runner
+    - shell-executor
   script:
-    - docker build . -t test
-    - docker run test
+    - docker-compose -f ./test/run-tests.yml --build --exit-code-from pytest
 
 # build:
 #     stage: build