Skip to content
Snippets Groups Projects

fix artifacts vs cache

Merged Antoine Gaudron-Desjardins requested to merge update_ci into main
+ 2
16
@@ -51,19 +51,6 @@ cache:
@@ -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:
install-npm-packages:
image: node:14.6.0
image: node:14.6.0
stage: install
stage: install
@@ -85,12 +72,11 @@ lint-back:
@@ -85,12 +72,11 @@ lint-back:
stage: test
stage: test
allow_failure: true
allow_failure: true
before_script:
before_script:
 
- python3 -m venv venv/
- source venv/bin/activate
- source venv/bin/activate
- pip install pycodestyle
script:
script:
 
- pip install pycodestyle
- pycodestyle --config=./backend/setup.cnf ./backend
- pycodestyle --config=./backend/setup.cnf ./backend
dependencies:
- install-virtualenv
lint-front:
lint-front:
Loading