diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index 9e5be26f..04847357 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -84,10 +84,6 @@ jobs: - name: electrum - name: rpc - name: esplora - env: - ELECTRS_RELEASE_URL: https://github.com/RCasatta/electrsd/releases/download/release_0.3.0 - ELECTRS_VER: electrs_ubuntu-20.04_v0.8.10.zip - ELECTRS_ESPLORA_VER: electrs_esplora_ubuntu-20.04_a33e97e1a1fc63fa9c20a116bb92579bbf43b254.zip steps: - name: Checkout uses: actions/checkout@v2 @@ -96,6 +92,8 @@ jobs: with: path: | ~/.cargo/registry + ~/.cargo/bitcoin + ~/.cargo/electrs ~/.cargo/git target key: ${{ runner.os }}-cargo-${{ github.job }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }} @@ -104,18 +102,8 @@ jobs: with: toolchain: stable override: true - - name: Download electrs - run: wget ${{ env.ELECTRS_RELEASE_URL }}/${{ env.ELECTRS_VER }} && unzip ${{ env.ELECTRS_VER }} && chmod +x ./electrs - if: ${{ matrix.blockchain.name != 'esplora' }} - - name: Download electrs esplora - run: wget ${{ env.ELECTRS_RELEASE_URL }}/${{ env.ELECTRS_ESPLORA_VER }} && unzip ${{ env.ELECTRS_ESPLORA_VER }} && chmod +x ./electrs - if: ${{ matrix.blockchain.name == 'esplora' }} - - name: Set ELECTRS_EXE env - run: echo "ELECTRS_EXE=${{ github.workspace }}/electrs" >> $GITHUB_ENV - - name: Show electrs options - run: ${{ env.ELECTRS_EXE }} --help - name: Test - run: $HOME/.cargo/bin/cargo test --features test-${{ matrix.blockchain.name }},test-blockchains --no-default-features ${{ matrix.blockchain.name }}::bdk_blockchain_tests + run: cargo test --features test-${{ matrix.blockchain.name }} ${{ matrix.blockchain.name }}::bdk_blockchain_tests check-wasm: name: Check WASM