mirror of
https://github.com/hanzoai/agent.git
synced 2026-09-11 21:08:51 +00:00
Consolidate all Hanzo agent infrastructure into one repo: - control-plane/: Go control plane server (was agents-new) - sdk/: Go, Python, TypeScript SDKs - deployments/: Docker, Kubernetes, Helm configs - Dockerfile.sdk: Python SDK image (ghcr.io/hanzoai/agent:latest) - CI builds both SDK + control-plane images No more agentfield — everything is hanzoai/agent.
23 lines
559 B
Bash
Executable File
23 lines
559 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
|
|
echo "==> Running control plane tests"
|
|
(cd "$ROOT_DIR/control-plane" && go test ./...)
|
|
|
|
echo "==> Running Go SDK tests"
|
|
(cd "$ROOT_DIR/sdk/go" && go test ./...)
|
|
|
|
echo "==> Running Python SDK tests"
|
|
(cd "$ROOT_DIR/sdk/python" && pytest)
|
|
|
|
if command -v npm >/dev/null 2>&1; then
|
|
echo "==> Linting control plane web UI"
|
|
(cd "$ROOT_DIR/control-plane/web/client" && npm run lint)
|
|
else
|
|
echo "npm not found; skipping web UI lint."
|
|
fi
|
|
|
|
echo "All tests passed."
|