- 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
37 lines
934 B
Bash
Executable File
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."
|