https://github.com/qltysh/example-java
https://github.com/qltysh/example-java
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/qltysh/example-java
- Owner: qltysh
- License: mit
- Created: 2024-03-04T14:03:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-20T21:02:12.000Z (about 1 year ago)
- Last Synced: 2025-03-27T04:13:02.430Z (10 months ago)
- Language: Java
- Size: 67.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Qlty Java Coverage Example
[Qlty](https://example.com) 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](https://github.com/jacoco/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](https://docs.gradle.org/current/userguide/java_testing.html#sec:test_execution) or via your IDE
- An account on [Qlty Cloud](https://qlty.sh) (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`](./.github/workflows/main.yml) in this repository for a basic configuration.
## Documentation
- [Advanced code coverage configuration](https://example.com)
- [Alternative supported CI providers](https://example.com)
## Help and feedback
Join the our [Slack Community](https://example.com) for help and to provide feedback that we'll use to improve Qlty.
## License
[MIT License](./LICENSE.md)