-
Notifications
You must be signed in to change notification settings - Fork 13
54 lines (45 loc) · 1.52 KB
/
_system_test.yml
File metadata and controls
54 lines (45 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
# Need this to get version number from last tag
fetch-depth: 0
- name: Install python packages
uses: ./.github/actions/install_requirements
- name: Checkout simulated devices
uses: actions/checkout@v4
with:
repository: epics-containers/example-services
path: example-services
ref: '2025.8.1'
- name: Compose devices
uses: hoverkraft-tech/compose-action@40041ff1b97dbf152cd2361138c2b03fa29139df # v2.3.0
with:
compose-file: "example-services/compose.yaml"
services: |
bl01t-di-cam-01
bl01t-mo-sim-01
ca-gateway
- name: Compose services
uses: hoverkraft-tech/compose-action@40041ff1b97dbf152cd2361138c2b03fa29139df # v2.3.0
with:
compose-file: "tests/system_tests/compose.yaml"
services: |
rabbitmq
numtracker
- name: Start Blueapi Server
env:
EPICS_CA_NAME_SERVERS: 127.0.0.1:5094
EPICS_PVA_NAME_SERVERS: 127.0.0.1:5095
EPICS_CA_ADDR_LIST: 127.0.0.1:5094
run: blueapi -c ${{ github.workspace }}/tests/system_tests/config.yaml serve &
- name: Run tests
run: tox -e system-test