-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathjustfile
More file actions
29 lines (21 loc) · 812 Bytes
/
justfile
File metadata and controls
29 lines (21 loc) · 812 Bytes
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
SESSION := "cm12345-1"
compose +ARGS="up -d":
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