From f5440ed76dacc590df323ebb803e8b5239e0f8ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gr=C3=A9goire?= <gregoire.kubler@proton.me>
Date: Tue, 5 Nov 2024 12:01:47 +0100
Subject: [PATCH] fix : missing aidge_onnx dependencies for coverage job

onnxruntime
required for MR aidge_onnx!75
---
 .gitlab/ci/ubuntu_python.gitlab-ci.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.gitlab/ci/ubuntu_python.gitlab-ci.yml b/.gitlab/ci/ubuntu_python.gitlab-ci.yml
index a541e34..5cdd941 100644
--- a/.gitlab/ci/ubuntu_python.gitlab-ci.yml
+++ b/.gitlab/ci/ubuntu_python.gitlab-ci.yml
@@ -76,7 +76,11 @@ coverage:ubuntu_python:
     - source venv/bin/activate
     - which python
     - python -m pip list
-    - python -m pip install numpy coverage requests unittest-xml-reporting pytest onnxruntime
+    - python -m pip install numpy coverage requests unittest-xml-reporting 
+    - >
+      if [[ "$CI_PROJECT_NAME" == "aidge_onnx" ]]; then
+        python -m pip install pytest onnxruntime>=1.18.0
+      fi
   script:
     - cd ${CI_PROJECT_NAME}
     # Retrieve the installation path of the module, since it is installed with pip.
-- 
GitLab