test(ci): run buzz-sdk contract tests

Signed-off-by: Joel Robotham <jrobotham@squareup.com>
This commit is contained in:
Joel Robotham
2026-08-31 11:06:45 -07:00
parent 37230b5dc0
commit 791ff6d0b9
2 changed files with 8 additions and 0 deletions

View File

@@ -316,6 +316,9 @@ test-unit:
./scripts/test-ensure-local-relay-key.sh
if command -v cargo-nextest &>/dev/null; then
cargo nextest run -p buzz-core -p buzz-auth --lib
# Broker request/response contracts are shared by every broker client
# and host, so their strict-wire and boundary tests must run in CI.
cargo nextest run -p buzz-sdk
# buzz-auth NIP-FI verifier doctests. The sealed-authority
# `compile_fail` doctests prove the default-feature public API alone
# cannot forge the issuer→JWKS authority; nextest does not run

View File

@@ -81,6 +81,11 @@ run_unit_tests() {
run_test_step "buzz-core tests" \
cargo test -p buzz-core --lib -- --nocapture
# Broker request/response contracts are shared by every broker client and
# host. Mirrors the nextest path in `just test-unit`.
run_test_step "buzz-sdk tests" \
cargo test -p buzz-sdk -- --nocapture
run_test_step "buzz-auth unit tests" \
cargo test -p buzz-auth --lib -- --nocapture