diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3ac87d491c42396070d559bf661ddf670015c799..90548efa653c9046a154f1c34dd023ed7ca89cc0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,8 +29,9 @@ 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 -y ffmpeg libsm6 libxext6; fi - - if [[ $CI_JOB_NAME == "Integration Test" ]]; then echo "Setting flag to compile zeroc-ice"; export OPT_DEP="test,network"; fi + - echo $CI_STAGE_NAME + - 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" == "Integration Test" ]]; then echo "Setting flag to compile zeroc-ice"; export OPT_DEP="test,network"; fi - poetry install -vv --with $OPT_DEP Local Units Test: