From 93c6ed1de5d4987fae49300256bedfc36299a945 Mon Sep 17 00:00:00 2001
From: Antoine Gaudron-desjardins <antoine.gaudrondesjardins@student-cs.fr>
Date: Fri, 22 Jul 2022 16:07:51 +0200
Subject: [PATCH] remove useless job

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6826480..6fc312a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,16 +37,6 @@ cache:
 ####                                                                                                                               ####
 #######################################################################################################################################
 
-install-virtualenv:
-  stage: install
-  script:
-    - python3 -m venv venv/
-  artifacts:
-    paths:
-      - venv/
-    expire_in: 30 mins
-
-
 install-npm-packages:
   image: node:14.6.0
   stage: install
@@ -68,12 +58,11 @@ lint-back:
   stage: test
   allow_failure: true
   before_script:
+    - python3 -m venv venv/
     - source venv/bin/activate
     - pip install pycodestyle
   script:
     - pycodestyle --config=./backend/setup.cnf ./backend
-  dependencies:
-    - install-virtualenv
 
 
 lint-front:
@@ -99,14 +88,13 @@ test-back:
     DB_PORT: 3306
     WEB_ROOT: http://localhost:3000
   before_script:
+    - python3 -m venv venv/
     - source ./venv/bin/activate
     - pip install -r requirements.txt
     - pip install pytest
   script:
     - cd ./backend
     - pytest
-  dependencies:
-    - install-virtualenv
 
 #######################################################################################################################################
 ####                                                                                                                               ####
-- 
GitLab