Skip to content

ci: test suites + shellcheck on push/PR - #1

Merged
decider merged 2 commits into
mainfrom
ci/test-suites
May 24, 2026
Merged

ci: test suites + shellcheck on push/PR#1
decider merged 2 commits into
mainfrom
ci/test-suites

Conversation

@decider

@decider decider commented May 24, 2026

Copy link
Copy Markdown
Owner

Adds .github/workflows/test.yml — three jobs:

  • secret-scrub: pytest over detect/scrub/install (Python 3.9) — 27 tests
  • docgen: node --test over the three suites (Node 22), with --test-timeout=120000 so a hung test fails fast
  • shellcheck: -S error over every installer + the identity guard

Makes test coverage visible + enforced on every change — table stakes for a repo people are asked to trust with their secrets.

Generated with Claude Code

decider added 2 commits May 24, 2026 14:01
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.
@decider
decider merged commit f3b270f into main May 24, 2026
3 checks passed
@decider
decider deleted the ci/test-suites branch May 24, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant