allow waiting until zmq finishes handshake using socket monitoring #73
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration tests | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
bitcoin_core_version: | |
[ | |
"25.1", | |
"24.2", | |
"23.2", | |
] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check | |
run: | | |
cd integration_tests | |
cargo fmt --check | |
cargo clippy -- -D warnings | |
- name: Install Bitcoin Core | |
run: | | |
curl https://bitcoincore.org/bin/bitcoin-core-${{ matrix.bitcoin_core_version }}/bitcoin-${{ matrix.bitcoin_core_version }}-x86_64-linux-gnu.tar.gz -o bitcoin-core.tar.gz | |
tar xf bitcoin-core.tar.gz | |
sudo cp -r bitcoin-${{ matrix.bitcoin_core_version }}/* /usr/local | |
- name: Run tests | |
run: | | |
cd integration_tests | |
./test.sh |