Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

ci: add coverage threshold enforcement (#172)#176

Merged
cdot65 merged 1 commit intomainfrom
cdot65/ci-coverage-threshold-172
Mar 14, 2026
Merged

ci: add coverage threshold enforcement (#172)#176
cdot65 merged 1 commit intomainfrom
cdot65/ci-coverage-threshold-172

Conversation

@cdot65
Copy link
Owner

@cdot65 cdot65 commented Mar 14, 2026

Summary

  • Add coverage thresholds to vitest.config.ts: 90% lines/statements, 95% functions, 80% branches
  • CI test job now runs pnpm test:coverage instead of pnpm test
  • Coverage will fail CI if it drops below thresholds

Closes #172

Test plan

  • pnpm test:coverage passes locally with thresholds
  • Thresholds set conservatively below current baseline (~98% lines, ~95% branches)

🤖 Generated with Claude Code

- vitest thresholds: 90% lines/statements, 95% functions, 80% branches
- CI test job now runs pnpm test:coverage instead of pnpm test

Closes #172

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cdot65 cdot65 merged commit 1babcc9 into main Mar 14, 2026
4 checks passed
@cdot65 cdot65 deleted the cdot65/ci-coverage-threshold-172 branch March 14, 2026 10:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: add coverage threshold enforcement

1 participant