-
Notifications
You must be signed in to change notification settings - Fork 13
37 lines (30 loc) · 1.04 KB
/
_system_test.yml
File metadata and controls
37 lines (30 loc) · 1.04 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
on:
workflow_call:
env:
# https://github.com/pytest-dev/pytest/issues/2042
PY_IGNORE_IMPORTMISMATCH: "1"
TILED_SINGLE_USER_API_KEY: unknown # ${TILED_SINGLE_USER_API_KEY}
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
# Check out example services
submodules: true
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Compose services
uses: hoverkraft-tech/compose-action@3846bcd61da338e9eaaf83e7ed0234a12b099b72 # v2.4.1
with:
compose-file: "tests/system_tests/compose.yaml"
- name: Start Blueapi Server
env:
EPICS_CA_NAME_SERVERS: 127.0.0.1:9064
EPICS_PVA_NAME_SERVERS: 127.0.0.1:9075
run: uv run blueapi -c ${{ github.workspace }}/tests/system_tests/config.yaml serve &
- name: Run tests
run: uv run --locked tox -e system-test