diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5564c0fa5400b38edb45ad8c9938113706eae45e..08c6975b845bde4022d7b124d7776defbb38960d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -45,7 +45,7 @@ pytest:
   only: [merge_requests]
   script:
     - export LANG=C  # Hopefully detect anything relying on locale
-    - python3 -m pip install ".[test]"
+    - python3 -m pip install ".[test]" --index-url https://devpi.exfldadev01.desy.de/euxfel/internal
     - python3 -m pytest --color yes --verbose --cov=cal_tools --cov=xfel_calibrate --cov-report html:htmlcov --cov-report term
   coverage: '/TOTAL.*? (\d+(?:\.\d+)?\%)$/'
   artifacts:
@@ -58,7 +58,7 @@ cython-editable-install-test:
   stage: test
   only: [merge_requests]
   script:
-    - python3 -m pip install -e ".[test]"
+    - python3 -m pip install -e ".[test]" --index-url https://devpi.exfldadev01.desy.de/euxfel/internal
     - python3 -m pytest --color yes --verbose ./tests/test_cythonalgs.py
 
 automated_test:
@@ -76,7 +76,7 @@ automated_test:
     - integration
   script:
     - export LANG=C  # Hopefully detect anything relying on locale
-    - python3 -m pip install ".[test]"
+    - python3 -m pip install ".[test]" --index-url https://devpi.exfldadev01.desy.de/euxfel/internal
     - python3 -c "from cal_tools.restful_config import restful_config; print(restful_config.get('calcat')['base-api-url'])"
     - echo "Running automated test. This can take sometime to finish depending on the test data."
     - echo "Given variables are REFERENCE=$REFERENCE, OUTPUT=$OUTPUT, DETECTORS=$DETECTORS, CALIBRATION=$CALIBRATION"