From: Vihiga Tyonum Date: Fri, 21 Feb 2025 12:42:43 +0000 (+0100) Subject: ci: update the CI workflow X-Git-Tag: v1.0.0~7^2~9 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/struct.CommandStringError.html?a=commitdiff_plain;h=8ac25291e955a87f8a97348f6577a91d716a8af0;p=bdk-cli ci: update the CI workflow - remove unavailable features in code_coverage workflow - add more features for the cont_integration workflow - update local compilation test script [Ticket: X] --- diff --git a/.github/workflows/code_coverage.yml b/.github/workflows/code_coverage.yml index 135203f..dad6ffd 100644 --- a/.github/workflows/code_coverage.yml +++ b/.github/workflows/code_coverage.yml @@ -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 diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index 7ce1143..c4e8735 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 81c06cf..1b0e7e1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 = [] diff --git a/ci/test_features.sh b/ci/test_features.sh index 826a8d6..caf67c9 100755 --- a/ci/test_features.sh +++ b/ci/test_features.sh @@ -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