diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c51706de2c3c7046c7e01246502c4df4e4cb066a..8575f1912ccf6e57ab6c860ce4981538c907d278 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,19 +1,19 @@ image: python:3.11-bullseye variables: - PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" + POETRY_CACHE_DIR: "$CI_PROJECT_DIR/.cache/poetry" cache: paths: - - .cache/pip + - .cache/poetry before_script: - pip install poetry - poetry --version - cd build/ - - poetry install -vv - - cd .. + - poetry install --no-root + - source $(poetry env info --path)/bin/activate format: script: