Skip to content

Commit

Permalink
refactor(ci)!: update CI to build and test example in specific job
Browse files Browse the repository at this point in the history
  • Loading branch information
oleonardolima committed Sep 13, 2024
1 parent 0136750 commit 7126642
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/cont_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -172,3 +172,6 @@ jobs:
- name: Build
working-directory: example-crates/${{ matrix.example-dir }}
run: cargo build
- name: Test
working-directory: example-crates/${{ matrix.example-dir }}
run: cargo test

0 comments on commit 7126642

Please sign in to comment.