diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index b41406617..6829c4476 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -14,7 +14,7 @@ jobs: - name: "Read rust version" id: read_toolchain run: echo "rust_version=$(cat rust-version)" >> $GITHUB_OUTPUT - + build-test: name: Build and test runs-on: ubuntu-latest @@ -27,6 +27,17 @@ jobs: features: - --no-default-features - --all-features + workspace-or-package: + - --workspace + - -p bdk_wallet + - -p bdk_chain + - -p bdk_core + - -p bdk_file_store + - -p bdk_electrum + - -p bdk_esplora + - -p bdk_bitcoind_rpc + - -p bdk_hwi + - -p bdk_testenv steps: - name: checkout uses: actions/checkout@v2 @@ -49,9 +60,9 @@ jobs: cargo update -p cc --precise "1.0.105" cargo update -p tokio --precise "1.38.1" - name: Build - run: cargo build ${{ matrix.features }} + run: cargo build ${{ matrix.workspace-or-package }} ${{ matrix.features }} - name: Test - run: cargo test ${{ matrix.features }} + run: cargo test ${{ matrix.workspace-or-package }} ${{ matrix.features }} check-no-std: name: Check no_std