From 58d4d91b594c972ddf9a4bc666be824b43a11b28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20Jonglez?= <clement@jonglez.space>
Date: Mon, 15 Jul 2024 11:02:55 +0200
Subject: [PATCH] install the [tests] optional deps for the CI test&coverage
 stages

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7d789fd..62ef939 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
-- 
GitLab