Initial commit: AetherForge Linux (forge-mesh) v0.1.0-dev
Some checks failed
Test / test (push) Has been cancelled
Some checks failed
Test / test (push) Has been cancelled
This commit is contained in:
15
scripts/test-integration.sh
Executable file
15
scripts/test-integration.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# Integration tests — HTTP router, stratum, fleet store against temp SQLite
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
cd "$ROOT"
|
||||
|
||||
export GOROOT="${GOROOT:-/usr/local/go}"
|
||||
export PATH="${GOROOT}/bin:${PATH}"
|
||||
export CGO_ENABLED="${CGO_ENABLED:-1}"
|
||||
|
||||
echo "==> [integration] api router + stratum + fleet store"
|
||||
go test -count=1 -v ./internal/api/... ./internal/stratum/... ./internal/fleet/...
|
||||
|
||||
echo "✓ integration tests passed"
|
||||
Reference in New Issue
Block a user