ci: test suites + shellcheck on push/PR - #1
Merged
Merged
Conversation
Adds .github/workflows/test.yml with three jobs: - secret-scrub: pytest over detect/scrub/install suites (Python 3.9) - docgen: node --test over the three .mjs suites (Node 22), with --test-timeout=120000 so a hung test fails fast instead of burning CI minutes (the docgen parallel-ordering test has a macOS-local hang that doesn't reproduce on Linux, but the timeout guards against any recurrence on either platform) - shellcheck -S error over every installer + the identity guard, so shell regressions get caught (error severity only — the hooks use intentional dynamic sourcing/word-splitting that style-level checks would flag) Makes the toolkit's test coverage visible + enforced on every change — table stakes for an OSS repo people are asked to trust with their secrets.
inject-readme-context (9) + install-push-hook (7) fully pass and gate the build. docgen.test.mjs has a known intra-process hang (two analyzeAllParallel tests in one node process; each passes alone) — run it continue-on-error so the hang surfaces in logs without red-gating the pipeline. Tracked for a proper isolation fix.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
.github/workflows/test.yml— three jobs:node --testover the three suites (Node 22), with--test-timeout=120000so a hung test fails fast-S errorover every installer + the identity guardMakes test coverage visible + enforced on every change — table stakes for a repo people are asked to trust with their secrets.
Generated with Claude Code