upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgrasp-audit/test-ngit-relay.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/grasp-audit/test-ngit-relay.sh b/grasp-audit/test-ngit-relay.sh
index 5e94fdb..2d1d7f2 100755
--- a/grasp-audit/test-ngit-relay.sh
+++ b/grasp-audit/test-ngit-relay.sh
@@ -57,6 +57,11 @@ echo "Note: ngit-relay only accepts Git-related events (NIP-34)."
57echo "Some NIP-01 smoke tests will fail (expected behavior)." 57echo "Some NIP-01 smoke tests will fail (expected behavior)."
58echo "Validation tests should pass." 58echo "Validation tests should pass."
59echo "" 59echo ""
60RELAY_URL="ws://localhost:$PORT" cargo test --lib -- --ignored --nocapture 60
61# Run the CLI tool (cleanup happens via trap even on failure)
62cargo run -- audit --relay "ws://localhost:$PORT" --mode ci --spec nip01-smoke || {
63 echo "⚠️ Some tests failed (expected for ngit-relay)"
64 echo " Validation tests should have passed"
65}
61 66
62echo "✅ Done!" 67echo "✅ Done!"