coverage-datadog-publisher

Crates.iocoverage-datadog-publisher
lib.rscoverage-datadog-publisher
version0.2.0
sourcesrc
created_at2023-06-27 09:39:07.847499
updated_at2023-06-27 10:03:49.989723
descriptionPush your code coverage to datadog
homepagehttps://github.com/jdrouet/coverage-datadog-publisher
repositoryhttps://github.com/jdrouet/coverage-datadog-publisher
max_upload_size
id901172
size34,660
Jérémie Drouet (jdrouet)

documentation

https://docs.rs/coverage-datadog-publisher

README

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.

Commit count: 7

cargo fmt