diff --git a/.github/workflows/_system_test.yml b/.github/workflows/_system_test.yml index 71a14ae84..3c7fb3334 100644 --- a/.github/workflows/_system_test.yml +++ b/.github/workflows/_system_test.yml @@ -10,6 +10,19 @@ 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: @@ -26,7 +39,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 }}/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