diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 68264808ee3fb2210767ac5c412bb6f1bd1be92a..6fc312a7103fe74572051a9a5534f67186672145 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 ####################################################################################################################################### #### ####