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

Test CLI examples using a regtest node in CI #1618

Open
ValuedMammal opened this issue Sep 19, 2024 · 4 comments
Open

Test CLI examples using a regtest node in CI #1618

ValuedMammal opened this issue Sep 19, 2024 · 4 comments
Labels

Comments

@ValuedMammal
Copy link
Contributor

Originally posted by #1462 (comment)

  • can we run the cli examples in CI against a regtest node somehow?

Still an open discussion exactly how this might look

@luisschwab
Copy link
Contributor

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

@oleonardolima
Copy link
Contributor

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
Copy link
Contributor

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

@luisschwab
Copy link
Contributor

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

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

No branches or pull requests

3 participants