-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (33 loc) · 866 Bytes
/
Copy pathMakefile
File metadata and controls
42 lines (33 loc) · 866 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
38
39
40
41
42
.PHONY: setup lint test test-unit test-e2e ci dev run clean
# Bootstrap project
setup:
uv venv
uv sync --all-extras
# Lint and format code
lint:
uv run ruff check --fix .
uv run ruff format .
# Run all tests (unit tests only by default)
test:
uv run pytest -q
# Run unit tests only (excludes E2E tests)
test-unit:
uv run pytest -q -m "not e2e"
# Run E2E tests (requires Azure DevOps connection)
test-e2e:
E2E=1 uv run pytest tests/test_e2e.py -v
# CI checks (no --fix, unit tests only)
ci:
uv run ruff check .
uv run pytest -q -m "not e2e"
# Launch MCP Inspector
dev:
uv run fastmcp dev src/azure_devops_mcp/server.py
# Run server
run:
uv run python -m azure_devops_mcp.server
# Clean build artifacts
clean:
rm -rf .ruff_cache __pycache__ .pytest_cache
find . -type d -name "__pycache__" -exec rm -rf {} +
find . -type f -name "*.pyc" -delete