]> Untitled Git - bdk/commitdiff
Update CI blockchain tests github/release/0.11.0
authorrajarshimaitra <rajarshi149@gmail.com>
Tue, 31 Aug 2021 09:04:19 +0000 (14:34 +0530)
committerSteve Myers <steve@notmandatory.org>
Wed, 15 Sep 2021 20:44:11 +0000 (13:44 -0700)
(cherry picked from commit 10b53a56d71ca4a923464f9cd12b5738f280d84a)

.github/workflows/cont_integration.yml

index 92fe2990f12310db18c67ce623953d8952c76cc7..d88b7851601ae00d67fc9d5600e60308e169d2cf 100644 (file)
@@ -78,15 +78,20 @@ jobs:
         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
@@ -104,8 +109,8 @@ jobs:
           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
@@ -139,7 +144,6 @@ jobs:
       - name: Check
         run: cargo check --target wasm32-unknown-unknown --features use-esplora-reqwest --no-default-features
 
-
   fmt:
     name: Rust fmt
     runs-on: ubuntu-latest