mirror of
https://github.com/block/buzz.git
synced 2026-12-01 13:42:45 +00:00
test(ci): run buzz-sdk contract tests
Signed-off-by: Joel Robotham <jrobotham@squareup.com>
This commit is contained in:
3
Justfile
3
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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user