-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (28 loc) · 977 Bytes
/
Makefile
File metadata and controls
37 lines (28 loc) · 977 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
33
34
35
36
37
.PHONY: install lint typecheck test check test-catalog test-smoke test-integration test-harness
## Install dev dependencies
install:
uv sync --dev
## Lint source and tests (ruff + pyright)
lint:
uv run ruff check src/ tests/
uv run python -m pyright
## Run type checker only (alias kept for CI compatibility)
typecheck:
uv run python -m pyright
## Run tests with coverage
test:
uv run pytest --cov=src/mlx_stack -x -q --tb=short
## Run all checks (same as CI)
check: lint typecheck test
## Run catalog validation (requires network, no models)
test-catalog:
uv run pytest -m catalog_validation -v --tb=short
## Run per-model smoke tests (requires macOS + vllm-mlx)
test-smoke:
uv run pytest -m smoke -v --tb=long
## Run full stack integration tests (requires macOS + vllm-mlx + litellm)
test-integration:
uv run pytest -m integration -v --tb=long
## Run harness compatibility tests (requires above + openai)
test-harness:
uv run pytest -m harness -v --tb=long