BlockchainCommons / BlockchainCommons/sweeptool-cli

write CI which installs and executes a local electrum server on regtest

Open
#2 1 comment 0 reactions 1 assignee Claimed by @HarshCasper View on GitHub
internship
Dominant language
Rust
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Abstract

Currently we can execute tests locally with

`cargo test`

In addition, we can test with:

`cargo test --features nigiri`

which requires a local electrum server on regtest, called `nigiri`: https://github.com/vulpemventures/nigiri

The CI to use should be Github Actions, see an example here: https://github.com/BlockchainCommons/musign-cli/blob/master/.github/workflows/Build.yml

Both commands (`cargo test` and `cargo test --features nigiri`) should run successfully in CI

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.