Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.27 KB

README.md

File metadata and controls

32 lines (19 loc) · 1.27 KB

Qlty Rust 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 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).

Requirements

  • 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)
  • QLTY_COVERAGE_TOKEN is set as a GitHub Actions repository 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