Skip to content
Snippets Groups Projects
Commit 93c6ed1d authored by Antoine Gaudron-Desjardins's avatar Antoine Gaudron-Desjardins
Browse files

remove useless job

parent 8bced235
No related branches found
No related tags found
1 merge request!59add test to ci
Pipeline #44555 failed
...@@ -37,16 +37,6 @@ cache: ...@@ -37,16 +37,6 @@ cache:
#### #### #### ####
####################################################################################################################################### #######################################################################################################################################
install-virtualenv:
stage: install
script:
- python3 -m venv venv/
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
...@@ -68,12 +58,11 @@ lint-back: ...@@ -68,12 +58,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 - pip install pycodestyle
script: script:
- pycodestyle --config=./backend/setup.cnf ./backend - pycodestyle --config=./backend/setup.cnf ./backend
dependencies:
- install-virtualenv
lint-front: lint-front:
...@@ -99,14 +88,13 @@ test-back: ...@@ -99,14 +88,13 @@ test-back:
DB_PORT: 3306 DB_PORT: 3306
WEB_ROOT: http://localhost:3000 WEB_ROOT: http://localhost:3000
before_script: before_script:
- python3 -m venv venv/
- source ./venv/bin/activate - source ./venv/bin/activate
- pip install -r requirements.txt - pip install -r requirements.txt
- pip install pytest - pip install pytest
script: script:
- cd ./backend - cd ./backend
- pytest - pytest
dependencies:
- install-virtualenv
####################################################################################################################################### #######################################################################################################################################
#### #### #### ####
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment