Skip to content

ci: add unit test coverage support #185

@brionmario

Description

@brionmario

Current Limitation

Currently, our CI workflows only run unit tests but do not track or report code coverage.
This makes it difficult to monitor how well our tests cover the codebase and identify areas lacking test coverage.

Suggested Improvement

Integrate code coverage reporting into the CI pipeline using Codecov.

  • Add coverage reporting configuration for all SDK packages.
  • Upload coverage reports to Codecov after CI runs.
  • Enforce minimum coverage thresholds (optional) to maintain quality.
  • Provide a coverage badge in the repository README for visibility.

Please select the package issue is related to

@asgardeo/express, @asgardeo/browser, @asgardeo/javascript, @asgardeo/nextjs, @asgardeo/nuxt, @asgardeo/node,
@asgardeo/react, @asgardeo/react-router, @asgardeo/vue

Version

current

Reporter Checklist

  • I have searched the existing issues and this is not a duplicate.
  • I have provided all the necessary information.
  • I have verified the improvement is not available in the latest version of the package.

Metadata

Metadata

Assignees

Labels

Complexity/MediumIssues with the implementation complexity flagged as `Medium`Type/ImprovementciIssues related to configuring continuous integration

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions