Skip to content

Commit a1b246e

Browse files
committed
Checkout and compose example services
1 parent 6012f61 commit a1b246e

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

.github/workflows/_system_test.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,27 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13+
- name: Checkout containerised example IOCs
14+
uses: actions/checkout@v4
15+
with:
16+
repository: epics-containers/example-services
17+
path: example-services
18+
19+
- uses: hoverkraft-tech/[email protected]
20+
with:
21+
compose-file: example-services/compose.yaml
22+
env:
23+
EPICS_CA_ADDR_LIST: 127.0.0.1:5094
24+
1325
- name: Checkout
1426
uses: actions/checkout@v4
1527
with:
1628
# Need this to get version number from last tag
1729
fetch-depth: 0
30+
path: blueapi
1831

1932
- name: Install python packages
20-
uses: ./.github/actions/install_requirements
33+
uses: blueapi/.github/actions/install_requirements
2134

2235
- name: Start RabbitMQ
2336
uses: namoshek/rabbitmq-github-action@v1
@@ -26,7 +39,9 @@ jobs:
2639
plugins: rabbitmq_stomp
2740

2841
- name: Start Blueapi Server
29-
run: blueapi -c ${{ github.workspace }}/tests/unit_tests/example_yaml/valid_stomp_config.yaml serve &
42+
run: blueapi -c ${{ github.workspace }}/blueapi/tests/system_tests/config.yaml serve &
43+
env:
44+
EPICS_CA_ADDR_LIST: 127.0.0.1:5094
3045

3146
- name: Run tests
3247
run: tox -e system-test

tests/system_tests/config.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
env:
2+
sources:
3+
- kind: dodal
4+
module: dodal.beamlines.adsim
5+
- kind: planFunctions
6+
module: dodal.plans
7+
- kind: planFunctions
8+
module: dodal.plan_stubs.wrapped
9+
stomp:
10+
host: localhost
11+
port: 61613

0 commit comments

Comments
 (0)