bdk icon indicating copy to clipboard operation
bdk copied to clipboard

Test CLI examples using a regtest node in CI

Open ValuedMammal opened this issue 1 year ago • 8 comments

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

ValuedMammal avatar Sep 19 '24 15:09 ValuedMammal

Is there a simple and native way to run CI locally? I've found act, but not sure what you guys use.

luisschwab avatar Sep 30 '24 21:09 luisschwab

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.

oleonardolima avatar Oct 02 '24 02:10 oleonardolima

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).

oleonardolima avatar Oct 02 '24 02:10 oleonardolima

I'll study these options, but we need #1634 fixed first else CI will always fail.

luisschwab avatar Oct 03 '24 18:10 luisschwab

Now that #1634 is fixed, I'll resume work on this.

luisschwab avatar Nov 25 '24 22:11 luisschwab

@notmandatory May I work on this issue? Is it still open?

@luisschwab Are you currently working on this task/project?

shelter2759 avatar Jan 26 '25 06:01 shelter2759

Happy to take this one if nobody else's working on it

nseguias avatar Aug 04 '25 15:08 nseguias

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?

Rahamath-unnisa avatar Oct 09 '25 11:10 Rahamath-unnisa