Skip to content

Commit ba13884

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

File tree

2 files changed

+33
-6
lines changed

2 files changed

+33
-6
lines changed

.github/workflows/_system_test.yml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,39 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- name: Checkout
13+
- name: Checkout containerised example IOCs
1414
uses: actions/checkout@v4
1515
with:
16-
# Need this to get version number from last tag
17-
fetch-depth: 0
16+
repository: epics-containers/example-services
17+
path: example-services
1818

19-
- name: Install python packages
20-
uses: ./.github/actions/install_requirements
19+
- name: Run containerised IOCs
20+
uses: hoverkraft-tech/[email protected]
21+
with:
22+
compose-file: example-services/compose.yaml
23+
env:
24+
EPICS_CA_ADDR_LIST: 127.0.0.1:5094
2125

2226
- name: Start RabbitMQ
2327
uses: namoshek/rabbitmq-github-action@v1
2428
with:
2529
ports: "61613:61613"
2630
plugins: rabbitmq_stomp
2731

32+
- name: Checkout
33+
uses: actions/checkout@v4
34+
with:
35+
# Need this to get version number from last tag
36+
fetch-depth: 0
37+
path: blueapi
38+
39+
- name: Install python packages
40+
uses: blueapi/blueapi/.github/actions/install_requirements
41+
2842
- name: Start Blueapi Server
29-
run: blueapi -c ${{ github.workspace }}/tests/unit_tests/example_yaml/valid_stomp_config.yaml serve &
43+
run: blueapi -c ${{ github.workspace }}/blueapi/tests/system_tests/config.yaml serve &
44+
env:
45+
EPICS_CA_ADDR_LIST: 127.0.0.1:5094
3046

3147
- name: Run tests
3248
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)