2 unstable releases
0.2.0 | Jun 27, 2023 |
---|---|
0.1.0 | Jun 27, 2023 |
#459 in Cargo plugins
10KB
112 lines
Coverage datadog publisher
Just a tool to publish the code coverage generated by cargo-llvm-cov to Datadog.
Usage
# generate your code coverage report
cargo llvm-cov --json --output-path cov.json
# publish your coverage report
coverate-datadog-publisher \
--datadog-api-key <your datadog api key> \
--datadog-site https://api.datadoghq.eu \ # optional but if you work in europe, use this
--project-name <name of the project> \ # optional
--commit-hash $(git rev-parse HEAD) \ # optional
--branch-name $(git rev-parse --abbrev-ref HEAD) \ # optional
--series-name ci.coverage \ # optional
./cov.json
For more options do coverate-datadog-publisher --help
.
Dependencies
~6–18MB
~275K SLoC