diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eaaaaa06a3a50a2fdcf74a0a49fd7b28fbff45d0..8f7bc1219f13dc2d404f284c7d87bf96383a1e93 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: