From: Leonardo Lima Date: Thu, 12 Sep 2024 15:06:20 +0000 (-0300) Subject: refactor(ci)!: update CI to build and test example in specific job X-Git-Tag: v1.0.0-beta.5~8^2~1 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/enum.EncodeSliceError.html?a=commitdiff_plain;h=45be3172a4abaa94ef2ff55784da31832bdd732a;p=bdk refactor(ci)!: update CI to build and test example in specific job --- diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index 6fa15c1f..76e2795e 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -50,9 +50,9 @@ jobs: cargo update -p tokio --precise "1.38.1" cargo update -p tokio-util --precise "0.7.11" - name: Build - run: cargo build ${{ matrix.features }} + run: cargo build --workspace --exclude 'example_*' ${{ matrix.features }} - name: Test - run: cargo test ${{ matrix.features }} + run: cargo test --workspace --exclude 'example_*' ${{ matrix.features }} check-no-std: name: Check no_std @@ -145,7 +145,7 @@ jobs: args: --all-features --all-targets -- -D warnings build-examples: - name: Build Examples + name: Build & Test Examples runs-on: ubuntu-latest strategy: matrix: @@ -154,10 +154,10 @@ jobs: - example_bitcoind_rpc_polling - example_electrum - example_esplora - - wallet_electrum - - wallet_esplora_async - - wallet_esplora_blocking - - wallet_rpc + - example_wallet_electrum + - example_wallet_esplora_async + - example_wallet_esplora_blocking + - example_wallet_rpc steps: - name: checkout uses: actions/checkout@v2