-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (23 loc) · 732 Bytes
/
Copy pathMakefile
File metadata and controls
32 lines (23 loc) · 732 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
# StadiumMind - convenience targets. Mirrors exactly what CI runs
# (.github/workflows/tests.yml) so `make lint && make typecheck && make test`
# locally is the same pass/fail signal as the GitHub Actions checks.
#
# Usage: make <target> e.g. make test
.PHONY: install install-dev lint typecheck test coverage run clean
install:
pip install -r requirements.txt
install-dev: install
pip install -r requirements-dev.txt
lint:
ruff check .
typecheck:
mypy .
test:
pytest tests/ -v
coverage:
pytest tests/ --cov=core --cov=agents --cov-report=term-missing
run:
streamlit run app.py
clean:
find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true
rm -rf .mypy_cache .ruff_cache .pytest_cache .coverage