Skip to content

Commit 4e0b579

Browse files
committed
Split blueapi task into serve and run
1 parent c837724 commit 4e0b579

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

justfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
set dotenv-filename := "tests/system_tests/.env"
1+
SESSION := "cm12345-1"
22

33
compose +ARGS="up -d":
44
docker compose -f tests/system_tests/compose.yaml {{ARGS}}
@@ -11,8 +11,12 @@ configure-adsim: (compose "exec" "numtracker" "/app/numtracker" "client" "config
1111

1212
services: compose configure-adsim
1313

14-
blueapi *ARGS="serve":
15-
uv run blueapi -c tests/system_tests/config.yaml {{ARGS}}
14+
serve *OPTS: services
15+
source tests/system_tests/.env
16+
uv run blueapi -c tests/system_tests/config.yaml {{OPTS}} serve
17+
18+
run PLAN PARAMS:
19+
uv run blueapi -c tests/system_tests/config.yaml controller run -i {{ SESSION }} {{ PLAN }} '{{ PARAMS }}'
1620

1721
lint:
1822
uv run ruff check

0 commit comments

Comments
 (0)