From cf99ef8e67b0e603f3ee933821302534af561cb6 Mon Sep 17 00:00:00 2001 From: "Meck, Tobias" <tobias.meck@tu-darmstadt.de> Date: Fri, 13 Oct 2023 17:41:38 +0200 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6e27975..60065ab 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,9 +23,10 @@ cache: - .cache/pip - venv/ -before_script: +setup_env: rules: - - if: '$CI_PROJECT_NAMESPACE == "https://git.rwth-aachen.de/fst-tuda/public/lehre/" + - if: '$CI_PROJECT_NAMESPACE == "https://git.rwth-aachen.de/fst-tuda/public/lehre/"' + script: - python --version # For debugging - pip install virtualenv - virtualenv venv @@ -35,7 +36,7 @@ before_script: test: rules: - - if: '$CI_PROJECT_NAMESPACE == "https://git.rwth-aachen.de/fst-tuda/public/lehre/" + - if: '$CI_PROJECT_NAMESPACE == "https://git.rwth-aachen.de/fst-tuda/public/lehre/"' tags: - env:docker script: @@ -49,7 +50,7 @@ test: run: rules: - - if: '$CI_PROJECT_NAMESPACE == "https://git.rwth-aachen.de/fst-tuda/public/lehre/" + - if: '$CI_PROJECT_NAMESPACE == "https://git.rwth-aachen.de/fst-tuda/public/lehre/"' tags: - env:docker script: -- GitLab