From 763da485ee5ca0abf7fc49eb7dd8481231cb2005 Mon Sep 17 00:00:00 2001 From: nguyed99 <nguyed99@zedat.fu-berlin.de> Date: Fri, 19 Jan 2024 21:30:36 +0100 Subject: [PATCH] Update pipeline --- .gitlab-ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7289072..5db913a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,18 +5,24 @@ stages: image: python:3.11-bullseye +variables: + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" + cache: + key: "${CI_JOB_NAME}" + paths: + - .cache/pip - .venv - key: "${CI_COMMIT_REF_SLUG}" build-env: stage: build script: - pip install poetry + - poetry --version - cd build/ - poetry config settings.virtualenvs.in-project true - - poetry install + - poetry install -vv - cd .. test-jobs: -- GitLab