feat: harden community production foundation through story 1.5
This commit is contained in:
@@ -7,9 +7,21 @@ fmt-check:
|
||||
tooling-test:
|
||||
python3 -m unittest discover -s tests/unit
|
||||
|
||||
capability-inventory-check:
|
||||
python3 scripts/validate-capability-inventory.py --root . --inventory docs/capability-inventory.json --schema docs/schemas/capability-inventory.schema.json $(for n in $(seq 1 54); do printf -- '--required-fr FR-%s ' "$n"; done)
|
||||
python3 scripts/validate-capability-baseline.py --root . --manifest docs/capability-baseline/manifest.json --schema docs/schemas/capability-baseline.schema.json
|
||||
|
||||
community-scope-check:
|
||||
scripts/check-community-scope.sh
|
||||
|
||||
config-contract-check:
|
||||
cargo run -p crank-config --bin crank-config-contract -- --check
|
||||
python3 scripts/check-runtime-config.py --root .
|
||||
python3 scripts/check-config-boundaries.py --root .
|
||||
|
||||
migration-contract-check:
|
||||
cargo run -p admin-api --bin crank-migrate -- plan --check
|
||||
|
||||
rust-boundaries:
|
||||
scripts/check-rust-boundaries.sh
|
||||
|
||||
@@ -26,7 +38,7 @@ clippy:
|
||||
cargo clippy --workspace --all-targets --all-features -- -D warnings
|
||||
|
||||
test:
|
||||
cargo test --workspace --all-targets
|
||||
cargo test --workspace --all-targets -- --test-threads=1
|
||||
|
||||
sqlx-prepare database_url:
|
||||
DATABASE_URL={{database_url}} cargo sqlx prepare --workspace -- --all-targets
|
||||
@@ -36,7 +48,10 @@ sqlx-check:
|
||||
|
||||
verify:
|
||||
just tooling-test
|
||||
just capability-inventory-check
|
||||
just community-scope-check
|
||||
just config-contract-check
|
||||
just migration-contract-check
|
||||
just rust-boundaries
|
||||
just rust-code-health
|
||||
just dependencies
|
||||
|
||||
Reference in New Issue
Block a user