Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a15374-f59f-7a31-86d2-d23b5d2ed181
35 lines
1 KiB
Makefile
35 lines
1 KiB
Makefile
.PHONY: test test-unit test-scenarios test-integration test-conformance check-layer
|
|
|
|
PYTHON ?= python3
|
|
|
|
test: test-unit check-layer
|
|
|
|
test-unit:
|
|
PYTHONPATH=src $(PYTHON) -m unittest discover -s tests -p 'test_*.py'
|
|
|
|
test-scenarios: test-unit
|
|
|
|
test-integration: test-unit
|
|
|
|
test-conformance: test-unit check-layer
|
|
|
|
check-layer:
|
|
PYTHONPATH=src $(PYTHON) scripts/check_layer_conformance.py --report
|
|
|
|
|
|
.PHONY: test-journeys
|
|
# Optional JOURNEY_ARGS supports --role, --report and --require-complete.
|
|
test-journeys:
|
|
PYTHONPATH=src:tests $(PYTHON) scripts/run_journey_suites.py $(JOURNEY_ARGS)
|
|
|
|
|
|
.PHONY: test-browser-journeys
|
|
test-browser-journeys:
|
|
PYTHONDONTWRITEBYTECODE=1 $(PYTHON) scripts/browser_journeys.py
|
|
|
|
# CUST-WP-0079-T05: staged-source generation; hook uses the isolated recipe.
|
|
.PHONY: generated-work-records generated-work-records-check
|
|
generated-work-records:
|
|
$(MAKE) --no-print-directory -f .generated-work-records.mk generated-work-records
|
|
generated-work-records-check:
|
|
$(MAKE) --no-print-directory -f .generated-work-records.mk generated-work-records-check
|