File tree Expand file tree Collapse file tree 1 file changed +0
-42
lines changed
Expand file tree Collapse file tree 1 file changed +0
-42
lines changed Original file line number Diff line number Diff line change 8989 run : cargo test ${{ matrix.features }} --doc --verbose
9090 continue-on-error : ${{ matrix.rust == 'nightly' }}
9191
92- # Integration tests (requires Bitcoin node)
93- integration-test :
94- name : Integration Tests (${{ matrix.features }})
95- runs-on : ubuntu-latest
96- if : github.event_name == 'push' && github.ref == 'refs/heads/main'
97- strategy :
98- matrix :
99- features :
100- - --all-features
101- - --no-default-features
102- steps :
103- - uses : actions/checkout@v4
104-
105- - name : Install Rust toolchain
106- uses : actions-rust-lang/setup-rust-toolchain@v1
107- with :
108- toolchain : stable
109- cache : true
110-
111- - name : Install Bitcoin Core 30.0
112- run : |
113- wget https://bitcoincore.org/bin/bitcoin-core-30.0/bitcoin-30.0-x86_64-linux-gnu.tar.gz
114- tar xzf bitcoin-30.0-x86_64-linux-gnu.tar.gz
115- sudo install -m 0755 -o root -g root -t /usr/local/bin bitcoin-30.0/bin/*
116-
117- - name : Start Bitcoin Core (regtest)
118- run : |
119- mkdir -p ~/.bitcoin
120- bitcoind -regtest -daemon -rpcuser=bitcoin -rpcpassword=bitcoin -rpcport=18443
121- sleep 5
122-
123- - name : Run integration tests
124- run : cargo test ${{ matrix.features }} --test integration -- --ignored --test-threads=1
125- env :
126- BITCOIN_RPC_URL : http://localhost:18443
127- BITCOIN_RPC_USER : bitcoin
128- BITCOIN_RPC_PASS : bitcoin
129-
130- - name : Stop Bitcoin Core
131- if : always()
132- run : bitcoin-cli -regtest -rpcuser=bitcoin -rpcpassword=bitcoin stop || true
133-
13492 # MSRV
13593 msrv :
13694 name : MSRV
You can’t perform that action at this time.
0 commit comments