use cache for pip

This commit is contained in:
Eelke Klein 2021-06-04 16:42:51 +00:00
parent 6e01010b47
commit 2ce524276f

View file

@ -1,5 +1,13 @@
image: python:3.7-alpine
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/pip-cache"
cache:
paths:
- "$CI_PROJECT_DIR/pip-cache"
key: "$CI_PROJECT_ID"
test-docs:
stage: test
script: