Skip to content

Commit 3a8ebda

Browse files
committed
test 27
1 parent 74f0e04 commit 3a8ebda

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/rust.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,22 @@ jobs:
4545
env:
4646
BITCOIND_EXE: ${{ github.workspace }}/bitcoin-28.0/bin/bitcoind
4747

48+
test-bitcoin-27:
49+
runs-on: ubuntu-22.04
50+
steps:
51+
- run: sudo apt-get update && sudo apt-get install libfuse2
52+
- uses: actions/checkout@v4
53+
- uses: dtolnay/rust-toolchain@1.75.0
54+
- uses: Swatinem/rust-cache@v2
55+
- name: Download bitcoind 27.0
56+
run: |
57+
curl -sSL https://bitcoincore.org/bin/bitcoin-core-27.0/bitcoin-27.0-x86_64-linux-gnu.tar.gz | tar -xz
58+
chmod +x bitcoin-27.0/bin/bitcoind
59+
- name: Run tests (Bitcoin 27.0, REST+Electrum)
60+
run: RUST_LOG=debug cargo test --features bitcoind_28_0
61+
env:
62+
BITCOIND_EXE: ${{ github.workspace }}/bitcoin-28.0/bin/bitcoind
63+
4864
test-electrum-raw:
4965
runs-on: ubuntu-22.04
5066
steps:

0 commit comments

Comments
 (0)