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

ci(gitlab): cleanup

parent 0400181a
No related branches found
No related tags found
No related merge requests found
...@@ -27,17 +27,16 @@ before_script: ...@@ -27,17 +27,16 @@ 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
# - 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="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 ffmpeg libsm6 libxext6 -y; fi - if [[ $CI_JOB_NAME == "Integration Test" ]]; then echo "Setting flag to compile zeroc-ice"; export OPT_DEP="test,network"; 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 - poetry install -vv --with $OPT_DEP
Local Units Test: Local Units Test:
stage: test stage: test
script: script:
- poetry run pytest - poetry run pytest --ignore ./tests/aliby
# TODO add Network Units # TODO add Network Units
......
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