From 45be3172a4abaa94ef2ff55784da31832bdd732a Mon Sep 17 00:00:00 2001 From: Leonardo Lima Date: Thu, 12 Sep 2024 12:06:20 -0300 Subject: [PATCH] refactor(ci)!: update CI to build and test example in specific job --- .github/workflows/cont_integration.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 -- 2.49.0