Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.28 KB

File metadata and controls

37 lines (23 loc) · 1.28 KB

Qlty Java Coverage Example

Qlty is a Code Health Platform with support for code coverage.

This repository is an example using Qlty to track code coverage for a Java Spring Boot project using Gradle. Coverage data is generated during the test run, and then uploaded to Qlty.

This repository uses JaCoCo to generate a XML code coverage file.

Requirements

  • Gradle 8.x or above
  • Java 17
  • Spring Boot 3.3.0
  • JaCoCo v0.8.0 or above
  • Test run with gradle test or via your IDE
  • An account on Qlty Cloud (free)

Note

This repository is using GitHub's OpenID Connect (OIDC) to authenticate the coverage upload with Qlty Cloud instead of storing a coverage token as a GitHub Actions secret.

Set up

See .github/workflows/main.yml in this repository for a basic configuration.

Documentation

Help and feedback

Join the our Slack Community for help and to provide feedback that we'll use to improve Qlty.

License

MIT License