From a1b4285440710f14faa378821ec75315c43dc8f1 Mon Sep 17 00:00:00 2001
From: Lucas Signorelli <47946746+Luquor@users.noreply.github.com>
Date: Thu, 9 Feb 2023 19:49:27 +0100
Subject: [PATCH] Ajout d'un stage de test (comprendre fonctionnement)

---
 .gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b4f5a56..d7a07cb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,2 +1,11 @@
 image: codeception/codeception
 
+stages:
+  - test
+
+unit-test-job:                      # Le job se lance dans la phase de test
+  stage: test                       
+  script:
+    - echo "Running unit tests"
+    - sleep 10
+    - echo "Unit tests finished"
\ No newline at end of file
-- 
GitLab