diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7d789fd110784d66669dd0c2b4ebd207a5489de5..62ef939d9b938ef94307abe9e55a3604efe1574b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -47,7 +47,7 @@ test:
   script:
     - source venv/bin/activate
     - export JAVA_HOME=`python3 set_java_home.py`
-    - python3 -m pip install .
+    - python3 -m pip install .[tests]
     - cd test
     - python3 -m pytest PyhelpersTest.py # First test setup_orekit_data without the orekitdata library
     - python3 -m pip install git+https://gitlab.orekit.org/orekit/orekit-data.git
@@ -61,7 +61,7 @@ coverage:
   script:
     - source venv/bin/activate
     - export JAVA_HOME=`python3 set_java_home.py`
-    - python3 -m pip install .
+    - python3 -m pip install .[tests]
     - cd test
     - python3 -m pip install git+https://gitlab.orekit.org/orekit/orekit-data.git
     - python3 -m pytest --cov --cov-report term --cov-report xml:coverage.xml