diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 88087323073e3be32eeabeb414b1077f12854fac..9930f00d5ed522d44973c20b99a3d53b27d558a7 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