Skip to content

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

Merged
cawalch merged 1 commit intomainfrom
chore-cicd-coverage
Dec 14, 2024
Merged

feat(workflows): improve test workflow with coverage and artifact upload#39
cawalch merged 1 commit intomainfrom
chore-cicd-coverage

Conversation

@cawalch
Copy link
Copy Markdown
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
@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