From a90e77ebb82d640e2a7df9f2a7c106395d491487 Mon Sep 17 00:00:00 2001 From: leufen1 <l.leufen@fz-juelich.de> Date: Thu, 8 Oct 2020 14:59:09 +0200 Subject: [PATCH] replaced xargs by standard pip install for all steps it is not required (keep only for tests from scratch) to save time --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 912ec3e0..75a77bb3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -72,7 +72,7 @@ tests (on GPU): - chmod +x ./CI/update_badge.sh - ./CI/update_badge.sh > /dev/null script: - - cat requirements.txt | cut -f1 -d"#" | sed '/^\s*$/d' | xargs -L 1 pip install + - pip install -r requirements.txt - chmod +x ./CI/run_pytest.sh - ./CI/run_pytest.sh after_script: @@ -96,7 +96,7 @@ tests: - chmod +x ./CI/update_badge.sh - ./CI/update_badge.sh > /dev/null script: - - cat requirements.txt | cut -f1 -d"#" | sed '/^\s*$/d' | xargs -L 1 pip install + - pip install -r requirements.txt - chmod +x ./CI/run_pytest.sh - ./CI/run_pytest.sh after_script: @@ -120,7 +120,7 @@ coverage: - chmod +x ./CI/update_badge.sh - ./CI/update_badge.sh > /dev/null script: - - cat requirements.txt | cut -f1 -d"#" | sed '/^\s*$/d' | xargs -L 1 pip install + - pip install -r requirements.txt - chmod +x ./CI/run_pytest_coverage.sh - ./CI/run_pytest_coverage.sh after_script: @@ -142,7 +142,7 @@ sphinx docs: - chmod +x ./CI/update_badge.sh - ./CI/update_badge.sh > /dev/null script: - - cat requirements.txt | cut -f1 -d"#" | sed '/^\s*$/d' | xargs -L 1 pip install + - pip install -r requirements.txt - pip install -r docs/requirements_docs.txt - chmod +x ./CI/create_documentation.sh - ./CI/create_documentation.sh -- GitLab