Skip to content

Enforce test coverage thresholds in CI#135

Merged
i-afaqrashid merged 1 commit into
mainfrom
issue-134-coverage-thresholds
May 29, 2026
Merged

Enforce test coverage thresholds in CI#135
i-afaqrashid merged 1 commit into
mainfrom
issue-134-coverage-thresholds

Conversation

@i-afaqrashid
Copy link
Copy Markdown
Owner

Summary

Adds V8 coverage to the vitest run and enforces minimum thresholds so coverage can't silently regress. Coverage runs as part of verify, which CI already invokes.

How verified

  • pnpm test:coverage enforces thresholds (statements/lines/functions 95, branches 90) and passes at current coverage (~98/95/98/98).
  • pnpm verify runs coverage and passes locally.

Closes #134

Adds V8 coverage to the vitest run with a test:coverage script and wires
it into verify, so the gate applies locally and in CI. Thresholds are set
a few points below current coverage (statements/lines/functions 95,
branches 90) as a floor against regressions.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webaudio-kit-site Error Error May 29, 2026 7:03am

@i-afaqrashid i-afaqrashid merged commit 8d785c7 into main May 29, 2026
7 of 12 checks passed
@i-afaqrashid i-afaqrashid deleted the issue-134-coverage-thresholds branch May 29, 2026 07:05
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.

Enforce test coverage thresholds in CI

1 participant