From f5bf9426e590bb8a66dfa45483d6c14e43537a5a Mon Sep 17 00:00:00 2001
From: Olivier BICHLER <olivier.bichler@cea.fr>
Date: Tue, 17 Oct 2023 22:11:01 +0200
Subject: [PATCH] Added requirements.txt

---
 .gitlab/ci/build.gitlab-ci.yml | 4 ++--
 requirements.txt               | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
 create mode 100644 requirements.txt

diff --git a/.gitlab/ci/build.gitlab-ci.yml b/.gitlab/ci/build.gitlab-ci.yml
index c89152ef5..a4579e295 100644
--- a/.gitlab/ci/build.gitlab-ci.yml
+++ b/.gitlab/ci/build.gitlab-ci.yml
@@ -88,7 +88,7 @@ build:ubuntu_python:
     - virtualenv venv
     - source venv/bin/activate
     # Numpy dependancy for unit test
-    - python3 -m pip install numpy
+    - python3 -m pip install -r requirements.txt
     - python3 -m pip install .
   artifacts:
     expire_in: 1 week
@@ -146,7 +146,7 @@ build:windows_python:
     - virtualenv venv
     - venv\Scripts\Activate.ps1
     # Numpy dependancy for unit test
-    - python -m pip install numpy
+    - python -m pip install -r requirements.txt
     - python -m pip install .
   artifacts:
     expire_in: 1 week
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 000000000..24ce15ab7
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1 @@
+numpy
-- 
GitLab