diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 501f11cd4d4f6e23d1564a45d6e3ad773127f72f..e66b08106fe847ce9af1a3b38c3344e0c25d642b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -80,7 +80,7 @@ install_and_test_311:
   stage: test
   script:
     - pip3 install cython
-    - pip3 install -e . --no-deps
+    - pip3 install --no-build-isolation -e . --no-deps
     - python3 -m pytest
   artifacts:
     when: always