-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.yaml
More file actions
32 lines (25 loc) · 858 Bytes
/
Taskfile.yaml
File metadata and controls
32 lines (25 loc) · 858 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
30
31
32
version: "3"
tasks:
sync-all:
desc: Sync uv environment and install pyzed
cmds:
- uv sync --extra dev
- uv run --script scripts/install_pyzed.py
record:
desc: Record stereo pairs from ZED camera to MCAP
cmd: uv run python scripts/record_pyzed.py {{.CLI_ARGS}}
snapshot:
desc: Capture a stereo pair from ZED camera
cmd: uv run python scripts/capture_pyzed.py {{.CLI_ARGS}}
lint:
desc: Run linting and formatting checks
cmd: uv run pre-commit run --all-files {{.CLI_ARGS}}
test:
desc: Run all tests
cmd: uv run pytest -s tests {{.CLI_ARGS}}
test-gpu:
desc: Test to make sure that the current setup works
cmd: uv run pytest tests/test_setup.py
test-camera:
desc: Test to make sure that the camera connection works
cmd: uv run pytest -m "" tests/test_setup.py::test_camera