-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
justfile
43 lines (31 loc) · 882 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
40
41
42
43
@lint:
echo mypy
just --justfile {{justfile()}} mypy
echo ruff
just --justfile {{justfile()}} ruff
echo ruff-format
just --justfile {{justfile()}} ruff-format
@mypy:
poetry run mypy meilisearch_python_sdk tests
@ruff:
poetry run ruff check .
@ruff-format:
poetry run ruff format meilisearch_python_sdk tests
@test: start-meilisearch-detached && stop-meilisearch
-poetry run pytest -x
@test-ci: start-meilisearch-detached && stop-meilisearch
poetry run pytest --cov=meilisearch_python_sdk --cov-report=xml
@start-meilisearch:
docker compose up
@start-meilisearch-detached:
docker compose up -d
@stop-meilisearch:
docker compose down
@build-docs:
poetry run mkdocs build --strict
@serve-docs:
mkdocs serve
@install:
poetry install
@benchmark: start-meilisearch-detached && stop-meilisearch
-poetry run python benchmark/run_benchmark.py