diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 57513bc2e1400589d93e2ba7af35923ad793594a..5c47dd1c740f5e8061d5b920912b0decaf64ae69 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -61,6 +61,7 @@ unit-test-job:   # This job runs in the test stage.
   script:
     - echo "Running unit tests..."
     - pip install pytest
+    - pip install -e .
     # - pytest --junitxml=report.xml
     - python -m pytest # tests/
   artifacts: