Packaging, rtut check, tests CI job; schemas move into the package (RBT-WP-0009-T02)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: sonnet Assistant-Process: 295952@bnt-lap001 Assistant-Session: e93f64ad-516c-46eb-9666-aad8d300c477
This commit is contained in:
parent
6d3414d8b7
commit
e021fd979f
16 changed files with 163 additions and 10 deletions
10
Makefile
10
Makefile
|
|
@ -1,9 +1,15 @@
|
|||
.PHONY: help test validate fix-consistency
|
||||
.PHONY: help install test check validate ui fix-consistency
|
||||
help: ## List targets
|
||||
@grep -E '^[a-z-]+:.*##' Makefile | sed 's/:.*##/ -/'
|
||||
install: ## Install the engine and its test dependencies into the current environment (editable)
|
||||
python3 -m pip install -e ".[test]"
|
||||
test: ## Run the test suite
|
||||
python3 -m pytest tests
|
||||
python3 -m pytest
|
||||
check: ## Validate every pack, attribute set, project and template in this repository
|
||||
python3 -m rtut check .
|
||||
validate: ## Validate runbook packs under runbooks/
|
||||
python3 -m rtut validate runbooks
|
||||
ui: ## Serve the local UI for this repository on 127.0.0.1:8877
|
||||
python3 -m rtut ui .
|
||||
fix-consistency: ## Sync workplans to State Hub: make fix-consistency REPO=runbook-tutorials
|
||||
statehub fix-consistency --repo $(REPO)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue