Skip to content

Checkout and compose example services #1

Checkout and compose example services

Checkout and compose example services #1

Workflow file for this run

on:
workflow_call:
env:
# https://github.com/pytest-dev/pytest/issues/2042
PY_IGNORE_IMPORTMISMATCH: "1"
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout containerised example IOCs
uses: actions/checkout@v4
with:
repository: epics-containers/example-services
path: example-services
- uses: hoverkraft-tech/[email protected]
with:
compose-file: example-services/compose.yaml
env:
EPICS_CA_ADDR_LIST: 127.0.0.1:5094
- name: Checkout
uses: actions/checkout@v4
with:
# Need this to get version number from last tag
fetch-depth: 0
path: blueapi
- name: Install python packages
uses: blueapi/.github/actions/install_requirements
- name: Start RabbitMQ
uses: namoshek/rabbitmq-github-action@v1
with:
ports: "61613:61613"
plugins: rabbitmq_stomp
- name: Start Blueapi Server
run: blueapi -c ${{ github.workspace }}/tests/system_tests/config.yaml serve &
env:
EPICS_CA_ADDR_LIST: 127.0.0.1:5094
- name: Run tests
run: tox -e system-test