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:
14
scripts/test-unit.sh
Executable file
14
scripts/test-unit.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# Go unit tests (fast, no network)
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
cd "$ROOT"
|
||||
|
||||
export GOROOT="${GOROOT:-/usr/local/go}"
|
||||
export PATH="${GOROOT}/bin:${PATH}"
|
||||
|
||||
echo "==> [unit] go test ./internal/..."
|
||||
go test -count=1 -short ./internal/...
|
||||
|
||||
echo "✓ unit tests passed"
|
||||
Reference in New Issue
Block a user