diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 20c5314ebd776ccac42f9ea4082c75610c44a3d3..2e5576bb7688c765a4420c32b01787d443b17220 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -43,8 +43,7 @@ image: git.app.uib.no:4567/ii/inf222/v23/assignments/test-runner:latest
 build:
   stage: build
   script:
-    - env
-    - './run-tests compile'
+    - '$HOME/run-tests compile'
   artifacts:
     paths:
       - build/
@@ -60,7 +59,7 @@ build:
 test:
   stage: test
   script:
-    - './run-tests test'
+    - '$HOME/run-tests test'
   artifacts:
     paths:
       - report/