File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 1
1
default : install lint check-types test test-integration
2
2
3
3
install :
4
- uv -q lock
5
- uv -q sync
6
-
7
- test * args :
8
- .venv/ bin/ pytest {{ args}}
4
+ uv lock
5
+ uv sync
9
6
10
7
lint :
11
- uv -q run ruff check .
12
- uv -q run ruff format .
8
+ uv run -q --frozen ruff check .
9
+ uv run -q --frozen ruff format .
13
10
14
11
check-types :
15
- uv -q run mypy .
12
+ uv run -q --frozen mypy .
13
+
14
+ test * args :
15
+ uv run -q --frozen pytest {{ args}}
16
+
17
+ test-integration * args :
18
+ #!/ bin/ bash
19
+ trap ' echo; docker compose down --remove-orphans' EXIT
20
+ docker compose run --build --rm app .venv/ bin/ pytest tests/ integration.py --no-cov {{ args}}
16
21
17
22
run-artemis :
18
23
docker compose up
19
24
20
25
run-consumer :
21
- ARTEMIS_HOST=0.0.0.0 uv -q run python testing/ consumer.py
26
+ ARTEMIS_HOST=0.0.0.0 uv run -q --frozen python testing/ consumer.py
22
27
23
28
run-producer :
24
- ARTEMIS_HOST=0.0.0.0 uv -q run python testing/ producer.py
25
-
26
- test-integration * args :
27
- #!/ bin/ bash
28
- trap ' echo; docker compose down --remove-orphans' EXIT
29
- docker compose run --build --rm app .venv/ bin/ pytest tests/ integration.py --no-cov {{ args}}
29
+ ARTEMIS_HOST=0.0.0.0 uv run -q --frozen python testing/ producer.py
30
30
31
31
publish :
32
32
rm -rf dist/ *
You can’t perform that action at this time.
0 commit comments