diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ac29d505e69cd2b4075e6653c78ee789b49ff2c2..72890721e686739235703aea4bfb53847552ed77 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,19 +5,17 @@ stages: image: python:3.11-bullseye -variables: - PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" - cache: paths: - - .cache/pip + - .venv + key: "${CI_COMMIT_REF_SLUG}" build-env: stage: build script: - pip install poetry - cd build/ - - poetry config virtualenvs.create false + - poetry config settings.virtualenvs.in-project true - poetry install - cd ..