An open API service indexing awesome lists of open source software.

https://github.com/qltysh/example-kotlin

Qlty Kotlin Coverage Example
https://github.com/qltysh/example-kotlin

Last synced: 9 months ago
JSON representation

Qlty Kotlin Coverage Example

Awesome Lists containing this project

README

          

# Qlty Kotlin 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 Kotlin project using Gradle. Coverage data is generated during the [Kotlin](https://kotlinlang.org/) build, and then uploaded to Qlty.

This repository uses [jacoco](https://github.com/jacoco/jacoco) to generate an xml code coverage file.

## Requirements

- Gradle 8.x or above
- Kotlin 1.9.x or above
- 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 (free for open source)
- `QLTY_COVERAGE_TOKEN` is set as a GitHub Actions [repository secret](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository)

## 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)