Testing and Quality
Test suite
Shell tools are tested with Bats under tests/github/.
Run all tests:
bash
make testRun a specific script test:
bash
make test-purge-actions
make test-scan-secretsLinting
Run ShellCheck for all scripts:
bash
make lintSuggested CI baseline
A practical baseline for CI jobs in this repository:
make lintmake test
Add project-specific checks (for example, Rust checks in app/) as needed.
Local troubleshooting
- Confirm executable bits on scripts (
chmod +x shell/github/*.sh) - Validate
gh auth statusfor GitHub-dependent tests - Run individual Bats files from
tests/github/when narrowing failures