-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathJustfile
39 lines (30 loc) · 885 Bytes
/
Justfile
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
33
34
35
36
37
38
39
default: install lint check-types test
install:
uv lock --upgrade
uv sync --all-extras --all-packages --frozen
lint:
uv run ruff check .
uv run ruff format .
check-types:
uv run mypy .
test-fast *args:
uv run pytest \
--ignore=packages/stompman/test_stompman/test_integration.py \
--ignore=packages/faststream-stomp/test_faststream_stomp/test_integration.py {{args}}
test *args:
#!/bin/bash
trap 'echo; docker compose down --remove-orphans' EXIT
docker compose up -d
uv run pytest {{args}}
run-artemis:
#!/bin/bash
trap 'echo; docker compose down --remove-orphans' EXIT
docker compose run --service-ports artemis
run-consumer:
uv run examples/consumer.py
run-producer:
uv run examples/producer.py
publish package:
rm -rf dist
uv build --package {{package}}
uv publish --token $PYPI_TOKEN