Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Calculate code coverage #401

Closed
MarcoIeni opened this issue Nov 22, 2020 · 2 comments
Closed

🚀 Calculate code coverage #401

MarcoIeni opened this issue Nov 22, 2020 · 2 comments

Comments

@MarcoIeni
Copy link
Contributor

We could calculate code coverage percentage on every push and display it with a badge in the README.
For code coverage calculation I use https://github.com/actions-rs/tarpaulin
This creates an lcov.info file that I upload to https://coveralls.io/ (free for open source).

Setup example: https://github.com/rust-github/rust-gh-example

https://github.com/rust-github/rust-gh-example/blob/74be2688c366c78791fa52e5674bf317cdf45cbb/.github/workflows/ci.yml#L60

I solve this issue if you want.
Of course the maintainer has to register to the coveralls website.

@dandavison
Copy link
Owner

Sure! I've heard of coveralls but not used it. I've signed up and registered delta:

image

@MarcoIeni
Copy link
Contributor Author

Closed by #409

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants