Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(workflows): improve test workflow with coverage and artifact upload #39

Merged
merged 1 commit into from
Dec 14, 2024

Conversation

cawalch
Copy link
Collaborator

@cawalch cawalch commented Dec 14, 2024

  • Revised workflow to include:
    • Coverage report generation with npm run coverage.
    • Artifact upload for coverage reports (only for Node.js 20.x).
  • Updated dependencies in package.json to include @vitest/coverage-v8 for enhanced coverage support.
  • Enhanced vitest configuration to use additional coverage reporters: json-summary, html, and lcov.

This change improves CI test coverage tracking and aligns workflows with best practices.

- Revised workflow to include:
  - Coverage report generation with `npm run coverage`.
  - Artifact upload for coverage reports (only for Node.js 20.x).
- Updated dependencies in `package.json` to include `@vitest/coverage-v8` for enhanced coverage support.
- Enhanced vitest configuration to use additional coverage reporters: `json-summary`, `html`, and `lcov`.

This change improves CI test coverage tracking and aligns workflows with best practices.

<!-- ps-id: 117158f7-3c26-4834-8e08-6c2842186ad9 -->
@cawalch cawalch merged commit 698d979 into main Dec 14, 2024
7 checks passed
@springcomp springcomp deleted the chore-cicd-coverage branch December 15, 2024 20:23
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