diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 72890721e686739235703aea4bfb53847552ed77..5db913ae952bfa3fa79dc49752a451c8a96f161a 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: