Files
proxmox/scripts/verify/run-repo-green-test-path.sh
defiQUG dbd517b279 Sync workspace: config, docs, scripts, CI, operator rules, and submodule pointers.
- Update dbis_core, cross-chain-pmm-lps, explorer-monorepo, metamask-integration, pr-workspace/chains
- Omit embedded publish git dirs and empty placeholders from index

Made-with: Cursor
2026-04-12 06:12:20 -07:00

37 lines
934 B
Bash
Executable File

#!/usr/bin/env bash
# Run the repo's local deterministic green-path tests for Chain 138 / GRU transport.
# Usage: bash scripts/verify/run-repo-green-test-path.sh
set -euo pipefail
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
log() { printf '%s\n' "$*"; }
ok() { printf '[OK] %s\n' "$*"; }
run_step() {
local label="$1"
shift
log ""
log "=== ${label} ==="
"$@"
}
run_step "Config validation" \
bash "$PROJECT_ROOT/scripts/validation/validate-config-files.sh"
run_step "Gas rollout status parser" \
bash "$PROJECT_ROOT/scripts/verify/check-gas-public-pool-status.sh" --json
run_step "Chain 138 package CI targets" \
pnpm --dir "$PROJECT_ROOT/smom-dbis-138" run test:ci
run_step "Info site build" \
pnpm --dir "$PROJECT_ROOT/info-defi-oracle-138" build
run_step "Economics toolkit (unit tests)" \
pnpm --dir "$PROJECT_ROOT" run economics:test
log ""
ok "Repo green-path tests passed."