ci: install ophyd_devices from the repo

This commit is contained in:
wakonig_k 2024-08-15 11:29:33 +02:00
parent a39a6c197a
commit 1e805b47c6

View File

@ -160,6 +160,7 @@ tests:
script: script:
- git clone --branch $OPHYD_DEVICES_BRANCH https://oauth2:$CI_OPHYD_DEVICES_KEY@gitlab.psi.ch/bec/ophyd_devices.git - git clone --branch $OPHYD_DEVICES_BRANCH https://oauth2:$CI_OPHYD_DEVICES_KEY@gitlab.psi.ch/bec/ophyd_devices.git
- export OPHYD_DEVICES_PATH=$PWD/ophyd_devices - export OPHYD_DEVICES_PATH=$PWD/ophyd_devices
- pip install ./ophyd_devices
- pip install pytest pytest-random-order pytest-cov pytest-timeout - pip install pytest pytest-random-order pytest-cov pytest-timeout
- apt-get update - apt-get update
- apt-get install -y gcc - apt-get install -y gcc
@ -185,6 +186,7 @@ tests-3.11:
script: script:
- git clone --branch $OPHYD_DEVICES_BRANCH https://oauth2:$CI_OPHYD_DEVICES_KEY@gitlab.psi.ch/bec/ophyd_devices.git - git clone --branch $OPHYD_DEVICES_BRANCH https://oauth2:$CI_OPHYD_DEVICES_KEY@gitlab.psi.ch/bec/ophyd_devices.git
- export OPHYD_DEVICES_PATH=$PWD/ophyd_devices - export OPHYD_DEVICES_PATH=$PWD/ophyd_devices
- pip install ./ophyd_devices
- pip install pytest pytest-random-order pytest-cov pytest-timeout - pip install pytest pytest-random-order pytest-cov pytest-timeout
- apt-get update - apt-get update
- apt-get install -y gcc - apt-get install -y gcc
@ -354,6 +356,7 @@ end-2-end-conda:
# get ophyd devices repo (needed for the device_server) # get ophyd devices repo (needed for the device_server)
- git clone --branch $OPHYD_DEVICES_BRANCH https://oauth2:$CI_OPHYD_DEVICES_KEY@gitlab.psi.ch/bec/ophyd_devices.git - git clone --branch $OPHYD_DEVICES_BRANCH https://oauth2:$CI_OPHYD_DEVICES_KEY@gitlab.psi.ch/bec/ophyd_devices.git
- export OPHYD_DEVICES_PATH=$PWD/ophyd_devices - export OPHYD_DEVICES_PATH=$PWD/ophyd_devices
- pip install ./ophyd_devices
- source ./bin/install_bec_dev.sh -t - source ./bin/install_bec_dev.sh -t
@ -398,6 +401,7 @@ end-2-end-conda-310:
# get ophyd devices repo (needed for the device_server) # get ophyd devices repo (needed for the device_server)
- git clone --branch $OPHYD_DEVICES_BRANCH https://oauth2:$CI_OPHYD_DEVICES_KEY@gitlab.psi.ch/bec/ophyd_devices.git - git clone --branch $OPHYD_DEVICES_BRANCH https://oauth2:$CI_OPHYD_DEVICES_KEY@gitlab.psi.ch/bec/ophyd_devices.git
- export OPHYD_DEVICES_PATH=$PWD/ophyd_devices - export OPHYD_DEVICES_PATH=$PWD/ophyd_devices
- pip install ./ophyd_devices
- *install-bec-services-dev - *install-bec-services-dev