Files
geointel/scripts/codex_pass_end_check.sh
T
Codex 97017c6512
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled
Track executable script permissions
2026-06-16 23:41:02 +02:00

30 lines
824 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
if [ -n "${PYTHON_BIN:-}" ]; then
PYTHON_BIN="${PYTHON_BIN}"
elif command -v python3 >/dev/null 2>&1 && python3 -c "import sys" >/dev/null 2>&1; then
PYTHON_BIN="python3"
elif command -v python.exe >/dev/null 2>&1 && python.exe -c "import sys" >/dev/null 2>&1; then
PYTHON_BIN="python.exe"
else
PYTHON_BIN="python"
fi
echo "== GeoIntel pass end check =="
"$PYTHON_BIN" scripts/smoke_docs.py
"$PYTHON_BIN" scripts/validate_fixtures.py
"$PYTHON_BIN" scripts/smoke_contracts.py
if grep -R \
--exclude-dir=node_modules \
--exclude-dir=dist \
--exclude-dir=__pycache__ \
"TODO: implement later\|placeholder only\|fake completed" \
-n backend frontend docs 2>/dev/null; then
echo "Suspicious placeholder completion text found" >&2
exit 1
fi
echo "Pass end check OK"