diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 29753d21d38ad0efd91c5761d51448b4f208b668..4210fb19f248363b61417eeff445940afb499f30 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: