diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4be958f..3ac0776 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,10 +77,26 @@ jobs: - name: Gas / footprint report (vault-registry) run: cargo test --locked --package vault-registry gas -- --nocapture + test-workspace: + name: Test workspace + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + + - name: Install Rust stable + uses: dtolnay/rust-toolchain@stable + with: + targets: wasm32v1-none + + - uses: Swatinem/rust-cache@v2 + + - name: Test workspace + run: cargo test --locked --workspace + build: name: Build WASM runs-on: ubuntu-latest - needs: [lint, test] + needs: [lint, test, test-workspace] steps: - uses: actions/checkout@v7