From 43a5c16645ace6f8b8a0abb54664574249178c84 Mon Sep 17 00:00:00 2001
From: Antoine Gaudron-desjardins <antoine.gaudrondesjardins@student-cs.fr>
Date: Wed, 6 Jul 2022 09:24:10 +0200
Subject: [PATCH] ci

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5af2bae..c47c8a7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -98,10 +98,10 @@ test:
     WEB_ROOT: http://localhost:3000
   before_script:
     - source ./venv/bin/activate
-  script:
     - cd ./backend
     - python -m uvicorn main:app --port=80 --host 0.0.0.0
-  coverage: '/Application startup complete/'
+  script:
+    - curl "http://localhost/api/health"
 
 #######################################################################################################################################
 ####                                                                                                                               ####
-- 
GitLab