diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d4f556c458587e93c9785408d84d8733de4ac073..5448da81aa17b6c60ae62f21600107846f58411f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,6 +17,9 @@ build_and_test:
     - cd ../client && npm --silent install
   script:
     - npm build
-  after_script:
-    - cd ../server && npm test
+
+test:
+  stage: test
+  script:
+    - cd server && npm test
     - cd ../client && npm test
\ No newline at end of file