diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6cd2c9b84f6a4bc07464cc9b791bd745ff5bc143..b07f3c114a43e6e1f312e018911a76d93b5cb738 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,14 @@ default: image: python:3.9-slim-buster cache: + key: "$CI_PIPELINE_ID" paths: - - $CI_PROJECT_DIR/.venv + - venv/ - $CI_PROJECT_DIR/.cache/pip before_script: - python -V - - python -m venv $CI_PROJECT_DIR/.venv - - source $CI_PROJECT_DIR/.venv/bin/activate + - python -m venv venv + - source venv/bin/activate - pip install --upgrade pip - pip install --force-reinstall --index-url https://pypi.anaconda.org/intel/simple --no-dependencies numpy scipy==1.7.3 - pip install numpy scipy==1.7.3