diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 16bbf56c9d7ba019719b67b601c6a0475406ca46..382da7e7acd9980e20cd8909afad81006e37dc46 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,6 +18,15 @@ build_html: dependencies: - build_js image: python:3 + variables: + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" + cache: + paths: + - .cache/pip + - venv/ + before_script: + - python3 -m venv venv + - source venv/bin/activate script: - pip install -r requirements.txt - make html