2 unstable releases

0.2.0 Jun 27, 2023
0.1.0 Jun 27, 2023

#487 in Cargo plugins

MIT license

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

~7–19MB
~264K SLoC