svix / svix-webhooks

The enterprise-ready webhooks service 🦀
https://www.svix.com
MIT License
2.34k stars 162 forks source link

Add code coverage to CI (+ a badge) #330

Open tasn opened 2 years ago

tasn commented 2 years ago

Multiple options, not sure what's the right one:

michaelgrigoryan25 commented 2 years ago

What about using a GitHub Action? I think I found something at https://github.com/marketplace/actions/rust-grcov which uses grcov under the hood.

tasn commented 2 years ago

Thanks for the feedback! Yeah, it looks promising. We also want to have something that works locally, and we want to merge it with the test suite runs, but I'm sure we can get it working.

michaelgrigoryan25 commented 2 years ago

In that case it may be possible to come up with something custom. cargo has built-in support for extending its functionality.

tasn commented 2 years ago

Yeah. I just hope tarpaulin will prove itself as the easy solution.