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

ci

parent d28b4fbb
No related branches found
No related tags found
1 merge request!6Ci
Pipeline #43629 failed
......@@ -79,7 +79,7 @@ lint:
stage: test
allow_failure: false
before_script:
- source .venv/bin/activate
- source ./venv/bin/activate
- pip install pylint
script:
- pylint --recursive=y ./backend
......@@ -89,7 +89,7 @@ format:
stage: test
needs: ["lint"]
before_script:
- source .venv/bin/activate
- source ./venv/bin/activate
- pip install autopep8
script:
- autopep8 --in-place --recursive ./backend
......@@ -118,7 +118,7 @@ test:
# DB_HOST: $POSTGRES_DB_HOST
# DB_PORT: 5432
before_script:
- source .venv/bin/activate
- source ./venv/bin/activate
script:
- python -m uvicorn main:app --port=80 --host 0.0.0.0
- 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