Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
SESSION := "cm12345-1"

compose +ARGS="up -d":
Comment thread
tpoliaw marked this conversation as resolved.
docker compose -f tests/system_tests/compose.yaml {{ARGS}}

configure-adsim: (compose "exec" "numtracker" "/app/numtracker" "client" "configure" "adsim"
"--directory" '/tmp/'
"--scan" '{instrument}-{scan_number}'
"--detector" '{instrument}-{scan_number}-{detector}'
"--number" "43")

services: compose configure-adsim

serve *OPTS: services
source tests/system_tests/.env
uv run blueapi -c tests/system_tests/config.yaml {{OPTS}} serve

run PLAN PARAMS:
uv run blueapi -c tests/system_tests/config.yaml controller run -i {{ SESSION }} {{ PLAN }} '{{ PARAMS }}'

lint:
uv run prek run --all-files
uv run pyright src tests

unit:
uv run pytest tests/unit_tests

system:
uv run pytest tests/system_tests
Loading