From a8a74526dd249334a678fd765015a12eab6ff59e Mon Sep 17 00:00:00 2001 From: leufen1 <l.leufen@fz-juelich.de> Date: Fri, 19 Feb 2021 09:35:03 +0100 Subject: [PATCH] try create venv to solve problem --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 55995000..cebdf74c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -96,7 +96,8 @@ tests: - chmod +x ./CI/update_badge.sh - ./CI/update_badge.sh > /dev/null script: - - pip install six==1.15.0 + - python3.6 -m venv venv/ + - source venv/bin/activate - pip install -r requirements.txt - chmod +x ./CI/run_pytest.sh - ./CI/run_pytest.sh @@ -121,7 +122,6 @@ coverage: - chmod +x ./CI/update_badge.sh - ./CI/update_badge.sh > /dev/null script: - - pip install six==1.15.0 - pip install -r requirements.txt - chmod +x ./CI/run_pytest_coverage.sh - ./CI/run_pytest_coverage.sh @@ -144,7 +144,6 @@ sphinx docs: - chmod +x ./CI/update_badge.sh - ./CI/update_badge.sh > /dev/null script: - - pip install six==1.15.0 - pip install -r requirements.txt - pip install -r docs/requirements_docs.txt - chmod +x ./CI/create_documentation.sh -- GitLab