From 21a288802e397c03f9b5b6ed2ec982769aba336b Mon Sep 17 00:00:00 2001
From: Antoine Gaudron-desjardins <antoine.gaudrondesjardins@student-cs.fr>
Date: Wed, 6 Jul 2022 08:58:51 +0200
Subject: [PATCH] ci

---
 .gitlab-ci.yml | 1 +
 README.md      | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 828d354..4058e6c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -119,6 +119,7 @@ test:
   before_script:
     - source ./venv/bin/activate
   script:
+    - cd ./backend
     - python -m uvicorn main:app --port=80 --host 0.0.0.0
     - curl "http://localhost/api/health"
 
diff --git a/README.md b/README.md
index 98d206a..f257600 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ Navigate to [http://localhost:3001](http://localhost:3001)
 
 ### *Le linter*
 So the new commits can be deployed, you'll need to use the linter from backend :  
-`pycodestyle --config=./setup.cnf --exclude=./env ./`
+`pycodestyle --config=./setup.cnf --exclude=./env ./`  
 
 <br/>  
 
-- 
GitLab