From e8e7eba6784400d0d86a0100dafa3d357a46bd3d Mon Sep 17 00:00:00 2001 From: nguyed99 <nguyed99@zedat.fu-berlin.de> Date: Fri, 19 Jan 2024 23:19:54 +0100 Subject: [PATCH] Update pipeline --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4545f9a..2bf8cef 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,6 +21,7 @@ build-env: - cd build/ - poetry config virtualenvs.in-project true - poetry install --no-root + - poetry run pip install poetry artifacts: paths: - $POETRY_CACHE_DIR/virtualenvs/ @@ -31,6 +32,7 @@ format: - export VIRTUALENV_NAME=$(ls $POETRY_CACHE_DIR/virtualenvs) - echo $VIRTUALENV_NAME - source $POETRY_CACHE_DIR/virtualenvs/$VIRTUALENV_NAME/bin/activate + - which poetry # Check if poetry is in the PATH - poetry run pre-commit install - poetry run yapf -i -r -p . - poetry run ruff . -- GitLab