From 64c0cb471a063cb14c07e179740cb0fc23e11825 Mon Sep 17 00:00:00 2001 From: nguyed99 <nguyed99@zedat.fu-berlin.de> Date: Fri, 19 Jan 2024 23:01:13 +0100 Subject: [PATCH] Update pipeline --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6af2345..06dbc48 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,9 +6,12 @@ stages: - test-jobs - test-tasks +variables: + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/poetry" + cache: paths: - - .venv + - .cache/poetry build-env: stage: build @@ -18,7 +21,7 @@ build-env: - cd build/ - poetry config virtualenvs.in-project true - poetry install --no-root - - ls $CI_PROJECT_DIR/build/.venv + - ls $PIP_CACHE_DIR format: stage: format -- GitLab