From ecc2cb8b53f46cc64db2738cdd76bc16ad241747 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 14:02:56 +0100 Subject: [PATCH] ci(fix): add pipeline deps --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 29753d21..4210fb19 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,10 +27,10 @@ before_script: # - git pull origin HEAD:master # - rm -rf ~/.cache/pypoetry # - 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 OPT_DEP="pipeline,test"; - export PYTEST_FOLDER=""; - if [[ "$CI_STAGE_NAME" == "test" ]]; then echo "Installing system dependencies for ${CI_STAGE_NAME}"; apt update && apt install -y ffmpeg libsm6 libxext6; fi - - if [[ "$CI_JOB_NAME" == "Network Tools Test" ]]; then echo "Setting flag to compile zeroc-ice"; export OPT_DEP="test,network"; fi + - if [[ "$CI_JOB_NAME" == "Network Tools Test" ]]; then echo "Setting flag to compile zeroc-ice"; export OPT_DEP="${OPT_DEP},network"; fi - poetry install -vv --with $OPT_DEP Local Tests: -- GitLab