meilisearch-rust icon indicating copy to clipboard operation
meilisearch-rust copied to clipboard

Add CodeCov

Open brunoocasali opened this issue 2 years ago • 4 comments
trafficstars

⚠️ 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:

  • [ ] Add CodeCov to this repository.
  • [ ] Add the CodeCov badge on this repository README.md
  • [ ] Ensure a minimum coverage is accepted (optional)

brunoocasali avatar Aug 14 '23 23:08 brunoocasali

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

irevoire avatar Aug 16 '23 07:08 irevoire

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...

carlosb1 avatar Aug 18 '23 22:08 carlosb1

@brunoocasali @irevoire @curquiza, I can send a PR if you want it.

Alirexaa avatar Mar 22 '25 08:03 Alirexaa

Yes, @Alirexaa go ahead! :)

brunoocasali avatar Mar 24 '25 12:03 brunoocasali