From a61a924f26be708b280ca0fc5baf0b42dbfbedac Mon Sep 17 00:00:00 2001 From: Danilo Ferreira de Lima <danilo.enoque.ferreira.de.lima@xfel.de> Date: Mon, 9 Oct 2023 14:17:13 +0200 Subject: [PATCH] Set key --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6cd2c9b..b07f3c1 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 -- GitLab