From 0400181a797ed95b01f210b9f739022a49c62f1a 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:25:01 +0100 Subject: [PATCH] ci(fix): format conditionals --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8f7bc121..5ab471b3 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 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 + - 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