Skip to content

Run the test suite in CI, not just build+lint - #7

Merged
AnderRV merged 1 commit into
mainfrom
ci/add-test-step
Aug 20, 2026
Merged

Run the test suite in CI, not just build+lint#7
AnderRV merged 1 commit into
mainfrom
ci/add-test-step

Conversation

@AnderRV

@AnderRV AnderRV commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

CI built and linted every PR across 3 Node versions, but never ran the real test suite — this repo had no tests at all until earlier this session (20 tests, 100% stmt/line/func coverage). Adds a `Test` step running `npm test`.

Confirmed locally that vitest correctly runs once-and-exits under `CI=true` (its local default without that is watch mode, which would hang a runner) — GitHub Actions sets `CI=true` automatically, so no other change was needed.

Test plan

  • `CI=true npm test` — 20/20 pass

CI built and linted every PR but never ran the real test suite (20
tests, added earlier this session - this repo had none before).
Confirmed vitest correctly runs once-and-exit under CI=true (which
GitHub Actions sets automatically), rather than its local default of
watch mode.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DTXXBERPGEnYiYP4Mt3FjF
@AnderRV
AnderRV requested a review from a team as a code owner August 20, 2026 18:16
@AnderRV AnderRV self-assigned this Aug 20, 2026
@AnderRV
AnderRV merged commit 4c460af into main Aug 20, 2026
3 checks passed
@AnderRV
AnderRV deleted the ci/add-test-step branch August 20, 2026 22:28
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