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

ci

parent 43a5c166
No related branches found
No related tags found
1 merge request!6Ci
Pipeline #43663 failed
...@@ -77,7 +77,6 @@ install: ...@@ -77,7 +77,6 @@ install:
lint: lint:
stage: test stage: test
allow_failure: false
before_script: before_script:
- source ./venv/bin/activate - source ./venv/bin/activate
- pip install pycodestyle - pip install pycodestyle
...@@ -98,9 +97,10 @@ test: ...@@ -98,9 +97,10 @@ test:
WEB_ROOT: http://localhost:3000 WEB_ROOT: http://localhost:3000
before_script: before_script:
- source ./venv/bin/activate - source ./venv/bin/activate
- cd ./backend
- python -m uvicorn main:app --port=80 --host 0.0.0.0
script: script:
- cd ./backend
- docker build -t app ./backend
- docker run -p 8000:80 app --env-file ./backend/.env
- curl "http://localhost/api/health" - curl "http://localhost/api/health"
####################################################################################################################################### #######################################################################################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment