From f23150eac7b4864fdc50abd467a0f30406c3dadc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <alan.munoz@ed.ac.uk> Date: Sat, 24 Sep 2022 13:23:27 +0100 Subject: [PATCH] ci(fix): fix conditionals --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eaaaaa06..8f7bc121 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,8 +30,8 @@ before_script: # - if [ ${var+TRIGGER_PYPI_NAME} ]; then echo "Pipeline triggered by ${TRIGGER_PYPI_NAME}"; poetry add ${TRIGGER_PYPI_NAME}@latest; fi - export OPT_DEP="test" - export PYTEST_FOLDER="" - - if [[ $CI_STAGE_NAME == "test"]]; then apt update && apt install ffmpeg libsm6 libxext6 -y;done - - if [[ $CI_JOB_NAME == "Integration"]]; then export OPT_DEP="test,network";done + - if [[ $CI_STAGE_NAME == "test"]]; then echo "Installing system dependencies for $CI_STAGE_NAME"; apt update && apt install ffmpeg libsm6 libxext6 -y; fi + - if [[ $CI_JOB_NAME == "Integration"]]; then echo "Setting flag to compile zeroc-ice"; export OPT_DEP="test,network"; fi - poetry install -vv --with $OPT_DEP Local Units Test: -- GitLab