diff --git a/.github/workflows/_system_test.yml b/.github/workflows/_system_test.yml index 71a14ae84..bef091c5d 100644 --- a/.github/workflows/_system_test.yml +++ b/.github/workflows/_system_test.yml @@ -10,14 +10,28 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout containerised example IOCs + uses: actions/checkout@v4 + with: + repository: epics-containers/example-services + path: example-services + + - name: Run containerised IOCs + uses: hoverkraft-tech/compose-action@v2.0.1 + 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: ./.github/actions/install_requirements + uses: blueapi/.github/actions/install_requirements - name: Start RabbitMQ uses: namoshek/rabbitmq-github-action@v1 @@ -26,7 +40,9 @@ jobs: plugins: rabbitmq_stomp - name: Start Blueapi Server - run: blueapi -c ${{ github.workspace }}/tests/unit_tests/example_yaml/valid_stomp_config.yaml serve & + run: blueapi -c ${{ github.workspace }}/blueapi/tests/system_tests/config.yaml serve & + env: + EPICS_CA_ADDR_LIST: 127.0.0.1:5094 - name: Run tests run: tox -e system-test diff --git a/tests/system_tests/config.yaml b/tests/system_tests/config.yaml new file mode 100644 index 000000000..e1fbba14e --- /dev/null +++ b/tests/system_tests/config.yaml @@ -0,0 +1,11 @@ +env: + sources: + - kind: dodal + module: dodal.beamlines.adsim + - kind: planFunctions + module: dodal.plans + - kind: planFunctions + module: dodal.plan_stubs.wrapped +stomp: + host: localhost + port: 61613