Qlty is a Code Health Platform with support for code coverage.
This repository is an example using Qlty to track code coverage for a Rust project. Coverage data is generated during the Rust build, and then uploaded to Qlty.
This repository uses cargo-llvm-lcov to generate LLVM source-based code coverage (-C instrument-coverage).
- Rust v1.73.0 or above
- cargo-llvm-lcov v0.6.4 or above
- Test run with cargo test
- An account on Qlty (free for open source)
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.
See .github/workflows/main.yml in this repository for a basic configuration.
Join the our Slack Community for help and to provide feedback that we'll use to improve Qlty.