Merge pull request #10 from beatz174-bit/codex/update-codex-to-run-terraform-tests

Add examples Terraform check to Codex validation flow
This commit is contained in:
beatz174-bit authored and GitHub committed 2026-04-23 12:34:34 +10:00
commit 9c15875568
2 files changed
+8 -1

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ Do not implement in this phase:
## Developer scripts
- `scripts/setup-dev.sh`: validate local toolchain requirements
- `scripts/check.sh`: run formatting and unit checks
- `scripts/check.sh`: run formatting and unit checks, then run Terraform checks against `examples/`
- `scripts/testacc.sh`: run acceptance tests using generic env vars
## Output expectations
+7
View File
@@ -18,4 +18,11 @@ go vet ./...
echo "[check] running go test"
go test ./...
if command -v terraform >/dev/null 2>&1; then
echo "[check] running terraform fmt check for examples/"
terraform fmt -check -recursive examples
else
echo "[check][warn] terraform not found; skipping examples/ checks" >&2
fi
echo "[check] complete"