| name | ci |
| description | Run complete CI checks locally (build debug/release, run tests, check warnings) |
Run a complete CI-like workflow locally to catch issues before pushing:
Workflow
-
Check git status:
cd /Users/bri/dev/Trebuchet && git status --short
Warn if there are uncommitted changes.
-
Build in debug mode:
cd /Users/bri/dev/Trebuchet && swift build 2>&1 | tee /tmp/trebuchet-build-debug.log
-
Build in release mode:
cd /Users/bri/dev/Trebuchet && swift build --configuration release 2>&1 | tee /tmp/trebuchet-build-release.log
-
Run all tests:
cd /Users/bri/dev/Trebuchet && swift test 2>&1 | tee /tmp/trebuchet-test.log
-
Check for warnings (excluding known unhandled file warnings):
grep -i "warning:" /tmp/trebuchet-build-release.log | grep -v "found.*file.*which are unhandled" || echo "No warnings found"
Report Summary
Provide a summary with:
- ✅/❌ Debug build status
- ✅/❌ Release build status
- ✅/❌ Test status (include pass/fail counts)
- Warning count
- Overall CI Status: PASS or FAIL
Notes
- Logs are saved to
/tmp/trebuchet-*.log for detailed inspection
- This does NOT run LocalStack AWS tests (use
/test-aws for those)
- Mirrors what would run in GitHub Actions CI
- Helps catch issues before creating PRs