Gate customer-product releases with application acceptance and hosted reuse checks
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a07ff8-19d0-7820-b4d0-1353833cb7fc
This commit is contained in:
parent
d9d48c7d1d
commit
0f4f11a9a2
14 changed files with 353 additions and 9 deletions
12
Makefile
12
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
.PHONY: help db dev css seed migrate test lint shell superuser collectstatic sync-whynot-design
|
||||
.PHONY: help db dev css seed migrate test test-image plan-check lint shell superuser collectstatic sync-whynot-design
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
|
|
@ -32,6 +32,16 @@ migrate: ## Generate and apply all pending migrations
|
|||
test: ## Run the full pytest test suite
|
||||
uv run pytest
|
||||
|
||||
test-image: ## Verify locked Python dependencies, built CSS, application tests and migrations
|
||||
docker build --target application-tests .
|
||||
|
||||
REUSE_SURFACE_BIN ?= reuse-surface
|
||||
REUSE_SURFACE_URL ?= https://reuse.coulomb.social
|
||||
|
||||
plan-check: ## Check a proposed WORKPLAN against current hosted capabilities (no model call)
|
||||
@test -n "$(WORKPLAN)" || { echo 'Set WORKPLAN=workplans/<file>.md'; exit 2; }
|
||||
$(REUSE_SURFACE_BIN) plan-check "$(WORKPLAN)" --hub-url "$(REUSE_SURFACE_URL)" --no-llm --format json --consumer-repo vergabe-teilnahme
|
||||
|
||||
lint: ## Run ruff (style) and mypy (types)
|
||||
uv run ruff check .
|
||||
uv run mypy vergabe_teilnahme/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue