diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d1941387a..73b3b409f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,12 @@ jobs: toolchain: - stable - 1.72 - name: cargo test on ${{ matrix.os }}, rust ${{ matrix.toolchain }} + include: + - feature: default + - os: ubuntu + toolchain: stable + feature: bincode + name: cargo test on ${{ matrix.os }}, rust ${{ matrix.toolchain }}, feature ${{ matrix.feature }} runs-on: ${{ matrix.os }}-latest steps: - uses: actions/checkout@v4 @@ -24,9 +29,7 @@ jobs: with: toolchain: ${{ matrix.toolchain }} - name: Cargo test - run: cargo test - - name: Cargo test bincode - run: cargo test --features bincode + run: cargo test --features ${{ matrix.feature }} # Check mdbook mdbook: