Files
redapricot/scripts/e2e.sh
T
2026-07-15 14:28:58 +08:00

15 lines
433 B
Bash
Executable File

#!/usr/bin/env bash
# Build the hub, then run the end-to-end integration suite.
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
# The Java hub must be installed for the e2e harness to launch it.
"$ROOT/scripts/build.sh"
echo ">> Running Go unit tests..."
( cd "$ROOT" && go test ./client/... -count=1 )
echo ">> Running end-to-end tests..."
( cd "$ROOT" && go test ./e2e/... -count=1 -v -timeout 300s )