diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9a39f1764c7a7c2c58d25b71654323eb5635d945..be2efd00d8513d7c606406e21f41187f54682e55 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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"