From 720e7f8bf44703733072f94ba6aecac30927bdfb Mon Sep 17 00:00:00 2001 From: Christoph Knote <christoph.knote@med.uni-augsburg.de> Date: Thu, 28 Apr 2022 16:17:37 +0200 Subject: [PATCH] cache pip package store... --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28ba148..404ebee 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,8 @@ image: python:latest +variables: + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" + before_script: - curl -sSL https://install.python-poetry.org | python3 - - export PATH="/root/.local/bin:$PATH" @@ -8,6 +11,7 @@ before_script: cache: paths: + - .cache/pip - .venv stages: -- GitLab