From 528eb098e4eb23d776e95cb132ebebec60a6ac5f Mon Sep 17 00:00:00 2001 From: Antoine Gaudron-desjardins <antoine.gaudrondesjardins@student-cs.fr> Date: Tue, 5 Jul 2022 21:28:44 +0200 Subject: [PATCH] ci --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9a39f17..be2efd0 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" -- GitLab