Conversation
47b476e Ignore fuzz dir from coverage reports (pool2win) 50ff685 Add github action for llvm-cov coverage (pool2win) Pull request description: There has been discussion around generating coverage reports for tests. See #1853 and #2353. This PR adds an action using llvm-cov and coveralls. The action generates lcov coverage report using llvm-cov and uploads the generated report to coveralls. You can see sample reports for my fork here: https://coveralls.io/github/pool2win/rust-bitcoin I am using the [cargo-llvm-cov](https://github.com/taiki-e/cargo-llvm-cov) wrapper around llvm-cov. I also use the coveralls official github action to push the coverage report to coveralls. It removes the need to deal with repository secrets etc, making the action easy to run for all contributors on their forks. We can move this action later to rust.yml if we need to. ACKs for top commit: apoelstra: ACK 47b476e Kixunil: ACK 47b476e tcharding: ACK 47b476e Tree-SHA512: 7a7b8caf94d4b4828416bc1e6df49bfe47fede7b8fa4386d905a6f40439a95df1d3fedecdd6d64675f2f6858851f18d2f8863994aa20ac1ab224f97ca48b4af2
Pull Request Test Coverage Report for Build 7749605098
💛 - Coveralls |
12bc1b0 to
b8889d2
Compare
a77cea5 to
c82fb32
Compare
8689eee to
6ac3b03
Compare
|
There is a problem with the |
|
|
|
Legend, cheers.
|
Use `bash` instead of `sh` to run shell scripts. We would like to support Nix users who do not typically have any shell other than `sh` at a known path, therefore use `/usr/bin/env bash`.
As we do in all the other shell scripts use `env` to call `bash`.
Re-write the whole CI pipeline. Co-developed-by: Martin Habovstiak <martin.habovstiak@gmail.com>
5df660e to
f9844db
Compare
|
Changes in force push:
|
|
|
|
Bother, sometimes I wonder why I got out of bed. (I thought |
|
FYI I took these functions from https://github.com/rust-lang-deprecated/rustup.sh/blob/master/rustup.sh and I back-and-forth'ed on how many of those helper functions to use. If you haven't read that file before then read the comments at the top, my favourite one is "# Don't make typos. You just have to be better than that." @Kixunil you might enjoy |
apoelstra
left a comment
There was a problem hiding this comment.
ACK a740657fe2c0baef5d954003e5e98d51ddb980dc
Add a function to check for commands used by the `run_task` script. Move the version printing to after the check. Also print the bash version in use.
|
Another mistake, force push updates the last patch to correctly print the |
|
I can't do a proper review now but if you decide to merge this anyway because it's not super-important to get 100% right I'm fine with it. |
|
Let's just merge it. I think we both have a bunch of things we'd like to try but we can do it in followup PRs, and none of this affects users of the library. |
|
Lets go! |
These are not run in CI since rust-bitcoin#2353 and are likely to go out of date. If we want a script that users can run locally then we should create a new script that wraps our current CI.
The combination of some work by myself [0] and Kix [1].
Draft so I can use github's infrastructure to test it all out.
Includes some patches at the front to fix real issues that the new test infrastructure found - WIN.
[0] #2328
[1] #2343
Coincidentally this closes 1124
Resolve: #1124