verae-mcp-timestamping-serv.../scripts/test-138.sh
Cursor Agent dc39095694
All checks were successful
test-and-deploy / test (push) Successful in 13s
test-and-deploy / deploy-138 (push) Successful in 13s
Add an ns1 test-and-deploy workflow for the Go MCP server.
scripts/deploy-138.sh tests with Go 1.26.9, swaps the live binary, and rolls back if port 8000 stops answering. Port 0 in the embedded NATS listener now picks an ephemeral port so the test can run while 4222 is already taken.
2026-10-11 05:52:17 +00:00

5 lines
203 B
Shell
Executable file

#!/usr/bin/env bash
# Unit-test the Go MCP server with Go 1.26. Does not restart a service.
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
exec bash "$ROOT/scripts/deploy-138.sh" --test-only