From e6c12a9a38e64654d8be915b913b1a97d311e17b Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 13 Sep 2022 17:47:48 +0100 Subject: [PATCH] Add poetry cache --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fa8ffc1..16225e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,10 +29,12 @@ pip: key: pip-$CI_COMMIT_REF_SLUG paths: - "$CI_PROJECT_DIR/.pip-cache" + - "$CI_PROJECT_DIR/.poetry-cache" before_script: - apt-get update --yes - apt-get install --yes build-essential libpq-dev git - pip install poetry==1.2.0 + - poetry config cache-dir $CI_PROJECT_DIR/.poetry-cache script: - python -m venv env - source env/bin/activate