Improve caching

This commit is contained in:
Fabian 2022-09-21 23:58:23 +02:00
parent e380cf2b64
commit 6e7b0e74aa

View File

@ -2,11 +2,12 @@ image: python:3.10-slim
variables: variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
PIPENV_VENV_IN_PROJECT: 1
cache: cache:
paths: paths:
- .cache/pip - .cache/pip
- venv/ - .venv/
package_pip: package_pip:
stage: build stage: build