Skip to content
Snippets Groups Projects
Commit ecc2cb8b authored by Alán Muñoz's avatar Alán Muñoz
Browse files

ci(fix): add pipeline deps

parent 3426eac1
No related branches found
No related tags found
No related merge requests found
...@@ -27,10 +27,10 @@ before_script: ...@@ -27,10 +27,10 @@ before_script:
# - git pull origin HEAD:master # - git pull origin HEAD:master
# - rm -rf ~/.cache/pypoetry # - rm -rf ~/.cache/pypoetry
# - if [ ${var+TRIGGER_PYPI_NAME} ]; then echo "Pipeline triggered by ${TRIGGER_PYPI_NAME}"; poetry add ${TRIGGER_PYPI_NAME}@latest; fi # - 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=""; - 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_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 - poetry install -vv --with $OPT_DEP
Local Tests: Local Tests:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment