Skip to content

Commit aa20068

Browse files
committed
chore: Add justfile for common tasks
Simplifies the various common tasks that should be run during development. Can be added to over time but for now mainly wraps running compose services and calling blueapi so config files don't have to be specified for every command.
1 parent 8fe32bb commit aa20068

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

justfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
set dotenv-filename := "tests/system_tests/.env"
2+
3+
compose +ARGS="up -d":
4+
podman compose -f tests/system_tests/compose.yaml {{ARGS}}
5+
6+
blueapi *ARGS="serve":
7+
uv run blueapi -c tests/system_tests/config.yaml {{ARGS}}
8+
9+
lint:
10+
uv run ruff check
11+
uv run pyright
12+
13+
unit:
14+
uv run pytest tests/unit_tests
15+
16+
system:
17+
uv run pytest tests/system_tests

0 commit comments

Comments
 (0)