run: cargo test --features test-md-docs --no-default-features -- doctest::ReadmeDoctests
test-blockchains:
- name: Test ${{ matrix.blockchain.name }}
+ name: Blockchain ${{ matrix.blockchain.features }}
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
blockchain:
- name: electrum
+ features: test-electrum
- name: rpc
+ features: test-rpc
- name: esplora
+ features: test-esplora,use-esplora-reqwest
+ - name: esplora
+ features: test-esplora,use-esplora-ureq
steps:
- name: Checkout
uses: actions/checkout@v2
toolchain: stable
override: true
- name: Test
- run: cargo test --features test-${{ matrix.blockchain.name }} ${{ matrix.blockchain.name }}::bdk_blockchain_tests
-
+ run: cargo test --no-default-features --features ${{ matrix.blockchain.features }} ${{ matrix.blockchain.name }}::bdk_blockchain_tests
+
check-wasm:
name: Check WASM
runs-on: ubuntu-16.04
- name: Check
run: cargo check --target wasm32-unknown-unknown --features use-esplora-reqwest --no-default-features
-
fmt:
name: Rust fmt
runs-on: ubuntu-latest