From 4cbdc30d5dcb51cc7501585a5cffcacdb27b4ecc Mon Sep 17 00:00:00 2001
From: Antoine Gaudron-desjardins <antoine.gaudrondesjardins@student-cs.fr>
Date: Thu, 21 Jul 2022 19:35:12 +0200
Subject: [PATCH] remove useless requirements

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8808732..9930f00 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -51,19 +51,6 @@ cache:
 ####                                                                                                                               ####
 #######################################################################################################################################
 
-install-virtualenv:
-  stage: install
-  script:
-    - python3 -m venv venv/
-    - source venv/bin/activate
-    - pip install --upgrade pip && pip install pip-tools
-    - pip install -r ./backend/requirements.txt
-  artifacts:
-    paths:
-      - venv/
-    expire_in: 30 mins
-
-
 install-npm-packages:
   image: node:14.6.0
   stage: install
@@ -85,9 +72,10 @@ lint-back:
   stage: test
   allow_failure: true
   before_script:
+    - python3 -m venv venv/
     - source venv/bin/activate
-    - pip install pycodestyle
   script:
+    - pip install pycodestyle
     - pycodestyle --config=./backend/setup.cnf ./backend
   dependencies:
     - install-virtualenv
-- 
GitLab