From 7337d9bc61240eafbedc030fdc77b7ac2cd549e2 Mon Sep 17 00:00:00 2001
From: Antoine Gaudron-desjardins <antoine.gaudrondesjardins@student-cs.fr>
Date: Tue, 5 Jul 2022 23:42:48 +0200
Subject: [PATCH] ci

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index be2efd0..0143e23 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -75,24 +75,23 @@ install:
 ####                                                                                                                               ####
 #######################################################################################################################################
 
-lint:
+format:
   stage: test
-  allow_failure: false
   before_script:
     - source ./venv/bin/activate
-    - pip install pylint
+    - pip install autopep8
   script:
-    - pylint --recursive=y ./backend
-
+    - autopep8 --in-place --recursive ./backend
+  
 
-format:
+lint:
   stage: test
-  needs: ["lint"]
+  allow_failure: false
   before_script:
     - source ./venv/bin/activate
-    - pip install autopep8
+    - pip install pylint
   script:
-    - autopep8 --in-place --recursive ./backend
+    - pylint --recursive=y ./backend
 
 
 test:
-- 
GitLab