From 4d1a5d05426dc768c99f3f3b31415df5db135668 Mon Sep 17 00:00:00 2001
From: LAMRINI Houda <houda.lamrini@etu.univ-amu.fr>
Date: Sun, 9 Mar 2025 11:23:18 +0000
Subject: [PATCH] Update .gitlab-ci.yml file

---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4c2e59d..54083f2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,9 @@ test:
   stage: test
   image: python:3.8
   script:
-    - python -m unittest discover -s tests
+    - pip install pytest  # Installe pytest
+    - pytest  # Exécute pytest pour détecter et exécuter tous les tests
+
 
 # Job de construction de l'image Docker
 build:
-- 
GitLab