Crates.io | coverage-datadog-publisher |
lib.rs | coverage-datadog-publisher |
version | 0.2.0 |
source | src |
created_at | 2023-06-27 09:39:07.847499 |
updated_at | 2023-06-27 10:03:49.989723 |
description | Push your code coverage to datadog |
homepage | https://github.com/jdrouet/coverage-datadog-publisher |
repository | https://github.com/jdrouet/coverage-datadog-publisher |
max_upload_size | |
id | 901172 |
size | 34,660 |
Just a tool to publish the code coverage generated by cargo-llvm-cov to Datadog.
# 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
.