actions-rs / tarpaulin

📈 GitHub Action for code coverage reporting with tarpaulin
MIT License
89 stars 16 forks source link

Download and run cargo-tarpaulin from GitHub releases #1

Closed garyttierney closed 4 years ago

garyttierney commented 5 years ago

This is mostly a draft right now, but should be fully functioning (though you'll have to invoke cargo tarpaulin yourself, this action is only installing it right now). Some things still to do:

We're using the version that is published to tarpaulins GitHub releases page instead of pulling it from crates.io. This cuts a considerable amount of runtime off of the job (10m vs 1-5s). This works because the GitHub actions virtual environment is identical (for all intents and purposes, they're both using Ubuntu latest) to the environment that tarpaulin is being built in.

JP-Ellis commented 4 years ago

Any update on this pull request? It would be very helpful to have this 👍 (if I get time, I might be able to help in a couple of weeks if this is still pending).

djc commented 4 years ago

Hey @svartalf, could you re-review? Would be great to have this!

svartalf commented 4 years ago

https://github.com/marketplace/actions/rust-tarpaulin 🎉