frontend-patterns/Makefile

59 lines
2 KiB
Makefile
Raw Permalink Normal View History

BENCH_PY ?= ../infospace-bench/.venv/bin/python
.PHONY: bench-test bench-plan schema-test
bench-test:
PYTHONDONTWRITEBYTECODE=1 "$(BENCH_PY)" -m pytest -q -p no:cacheprovider tests/test_research_bench.py tests/test_research_admission.py
bench-plan:
"$(BENCH_PY)" scripts/research_bench.py plan research/bench/infospaces/fixture-smoke
schema-test:
PYTHONDONTWRITEBYTECODE=1 "$(BENCH_PY)" -m pytest -q -p no:cacheprovider tests/test_pattern_contract.py
.PHONY: evolution-report evolution-check evolution-test
evolution-report:
python3 scripts/research_evolution.py generate
evolution-check:
python3 scripts/research_evolution.py check
evolution-test:
PYTHONDONTWRITEBYTECODE=1 "$(BENCH_PY)" -m pytest -q -p no:cacheprovider tests/test_research_evolution.py
.PHONY: classification-report classification-check
classification-report:
python3 scripts/classification_coverage.py
classification-check:
python3 scripts/classification_coverage.py --check
.PHONY: reference-generate reference-check reference-test
reference-generate:
python3 scripts/reference_preview.py
reference-check:
python3 scripts/reference_preview.py --check
reference-test:
PYTHONDONTWRITEBYTECODE=1 "$(BENCH_PY)" -m pytest -q -p no:cacheprovider tests/test_reference_preview.py
.PHONY: consumption-test
consumption-test:
PYTHONDONTWRITEBYTECODE=1 "$(BENCH_PY)" -m pytest -q -p no:cacheprovider tests/test_reference_consume.py
.PHONY: replication-check replication-test replication-03-check replication-03-test inference-preflight
replication-check:
python3 scripts/language_replication.py check
replication-03-check:
python3 scripts/language_replication_03.py check
replication-03-test:
PYTHONDONTWRITEBYTECODE=1 "$(BENCH_PY)" -m pytest -q -p no:cacheprovider tests/test_language_replication_03.py
replication-test:
PYTHONDONTWRITEBYTECODE=1 "$(BENCH_PY)" -m pytest -q -p no:cacheprovider tests/test_language_replication.py tests/test_inference_preflight.py
inference-preflight:
python3 scripts/inference_preflight.py