From ab55d2704f1a1f559ba765e34ff577d1e459ccfc 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 18:02:13 +0100 Subject: [PATCH] ci(deps): add dev by default --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 66dac6a1..ea768ce4 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 -- GitLab