From 791ff6d0b913534f8f734ddc0a66343e7fe23616 Mon Sep 17 00:00:00 2001 From: Joel Robotham Date: Mon, 31 Aug 2026 11:06:45 -0700 Subject: [PATCH] test(ci): run buzz-sdk contract tests Signed-off-by: Joel Robotham --- Justfile | 3 +++ scripts/run-tests.sh | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/Justfile b/Justfile index 32d83355e1..0103567367 100644 --- a/Justfile +++ b/Justfile @@ -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 diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 9dca8c82c3..3e2d558e57 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -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