meilisearch / meilisearch-rust

Rust wrapper for the Meilisearch API.
https://www.meilisearch.com
MIT License
350 stars 89 forks source link

Add CodeCov #507

Open brunoocasali opened 1 year ago

brunoocasali commented 1 year ago

⚠️ This issue is generated, it means the examples and the namings do not necessarily correspond to the language of this repository. Also, if you are a maintainer, please add any clarification and instructions about this issue.

Sorry if this is already wholly/partially implemented. Feel free to let me know about the state of this issue in the repo.

Related to https://github.com/meilisearch/integration-guides/issues/59


Codecov helps us to know if a PR add non-tested code. If it's the case, we don't accept the PR. It's easy to install, easy to configure.

TODO:

irevoire commented 1 year ago

Hey @brunoocasali, I don’t know much about codecov, but in rust when people want to do codecoverage, they 100% use this lib: https://github.com/xd009642/tarpaulin

carlosb1 commented 1 year ago

I have some experience with this tool..Also, check this: https://github.com/taiki-e/cargo-llvm-cov

Working with tarpaulin, I found some weird not coveraged cases that we never understood it...