Test CLI examples using a regtest node in CI
Originally posted by https://github.com/bitcoindevkit/bdk/issues/1462#issue-2337213124
- can we run the cli examples in CI against a regtest node somehow?
Still an open discussion exactly how this might look
Is there a simple and native way to run CI locally? I've found act, but not sure what you guys use.
Is there a simple and native way to run CI locally? I've found
act, but not sure what you guys use.
I've used act in the past, it's good for some projects (at least non-rust ones). But it seems to not work properly in macOS + rust (you need to use specific images for runners, etc), it would be amazing to get that working.
I think rust-bitcoin used that in the past, at least from looking at their /contrib folder, but unsure if it's still a used tool there.
If we are looking to run regtest on the CI I'd say we could either use rust's bitcoind, nigiri, or a simple docker image for it (still needs further research).
I'll study these options, but we need #1634 fixed first else CI will always fail.
Now that #1634 is fixed, I'll resume work on this.
@notmandatory May I work on this issue? Is it still open?
@luisschwab Are you currently working on this task/project?
Happy to take this one if nobody else's working on it
Hi! 👋 I’d like to work on this issue and implement running CLI examples in CI against a regtest node. Could I take this up if no one else is currently working on it?