]> Untitled Git - bdk-cli/commitdiff
ci: update the CI workflow
authorVihiga Tyonum <withtvpeter@gmail.com>
Fri, 21 Feb 2025 12:42:43 +0000 (13:42 +0100)
committerVihiga Tyonum <withtvpeter@gmail.com>
Fri, 21 Feb 2025 12:42:43 +0000 (13:42 +0100)
- remove unavailable features in code_coverage workflow
- add more features for the cont_integration workflow
- update local compilation test script

[Ticket: X]

.github/workflows/code_coverage.yml
.github/workflows/cont_integration.yml
Cargo.toml
ci/test_features.sh

index 135203f4fb01c3a167caa198fb2f4b9d0a377fca..dad6ffd30ca02eef4178f7fb8af6c9f632f8f485 100644 (file)
@@ -32,18 +32,15 @@ jobs:
       - name: Test Electrum
         run: cargo test --features electrum
 
-      - name: Test Esplora-Ureq
-        run: cargo test --features esplora-ureq
-
-      - name: Test Esplora-reqwest
-        run: cargo test --features esplora-reqwest
+      - name: Test Esplora
+        run: cargo test --features esplora
 
       # Temporarily disable compact filters
       #- name: Test Compact Filters
       #  run: cargo test --features compact_filters
 
-      - name: Test RPC
-        run: cargo test --features rpc
+      - name: Test RPC
+        run: cargo test --features rpc
 
       - id: coverage
         name: Generate coverage
index 7ce1143fffe903751dce84b2f2f57078d423c8f1..c4e87354cf636af14d8638b5b82798070bfe4adb 100644 (file)
@@ -19,6 +19,12 @@ jobs:
           - esplora,sqlite
           - esplora
           - compiler,sqlite
+          - compiler
+          - verify   
+          - verify esplora 
+          - verify esplora compiler
+          - verify compiler electrum
+          - verify esplora compiler      
     steps:
       - name: Checkout
         uses: actions/checkout@v2
@@ -79,7 +85,7 @@ jobs:
       - name: Update toolchain
         run: rustup update
       - name: Build
-        run: cargo build --target wasm32-unknown-unknown --no-default-features --features esplora-reqwest,async-interface,compiler,dev-getrandom-wasm
+        run: cargo build --target wasm32-unknown-unknown --no-default-features --features esplora,compiler,dev-getrandom-wasm
 
   fmt:
     name: Rust fmt
index 81c06cf27b25bee6b9c1e9dbc0a51ca2fad9968d..1b0e7e19baffc753a5ccfeda7fddd5772d70746c 100644 (file)
@@ -41,7 +41,7 @@ sqlite = ["bdk_wallet/rusqlite"]
 cbf = ["bdk_kyoto"]
 electrum = ["bdk_electrum"]
 esplora = ["bdk_esplora"]
-rpc = ["bdk_bitcoind_rpc"]
+# rpc = ["bdk_bitcoind_rpc"] temporarily disabled
 
 # Use this to consensus verify transactions at sync time
 verify = []
index 826a8d6883417addcc232779b02f2f9bdc429ade..caf67c90b9cd832a5f109402aa4edf878f40e836 100755 (executable)
@@ -17,6 +17,10 @@ feature_combinations=(
     "sqlite esplora"
     "sqlite verify"
     "sqlite compiler"
+    "verify esplora compiler"
+    "verify esplora repl"
+    "verify compiler repl"
+    "verify esplora compiler repl"
 )
 
 for features in "${feature_combinations[@]}"; do