diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 66dac6a1cb75061afaf0f5323da497f0797220d3..ea768ce4d04d2cf1ed2d5586f520ac6c9c2862aa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,7 +28,7 @@ before_script: # - 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 WITHOUT="docs,network"; - - export ARGS="--with test"; + - export ARGS="--with test,dev"; - 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" == "Static Type" ]]; then echo "Activating development group"; export ARGS="${ARGS},dev"; fi - if [[ "$CI_JOB_NAME" == "Network Tools Test" ]]; then echo "Setting flag to compile zeroc-ice"; export ARGS="${ARGS} --all-extras"; fi @@ -37,6 +37,7 @@ before_script: Local Tests: stage: test script: + - poetry install -vv - poetry run pytest ./tests --ignore ./tests/aliby/network # TODO Split testing in four: Network vs non-network and Unit vs integration