Skip to content

Commit 762e801

Browse files
authored
CI: test all features in isolation (#101)
If it gets any more complex than this, we should switch to `cargo hack`
1 parent 8fae5f5 commit 762e801

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/hybrid-array.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ jobs:
3737
toolchain: ${{ matrix.rust }}
3838
targets: ${{ matrix.target }}
3939
- run: cargo build --no-default-features --target ${{ matrix.target }}
40+
- run: cargo build --no-default-features --target ${{ matrix.target }} --features bytemuck
4041
- run: cargo build --no-default-features --target ${{ matrix.target }} --features extra-sizes
4142
- run: cargo build --no-default-features --target ${{ matrix.target }} --features serde
43+
- run: cargo build --no-default-features --target ${{ matrix.target }} --features zeroize
44+
- run: cargo build --no-default-features --target ${{ matrix.target }} --all-features
4245

4346
careful:
4447
runs-on: ubuntu-latest
@@ -106,5 +109,8 @@ jobs:
106109
with:
107110
toolchain: ${{ matrix.toolchain }}
108111
- run: cargo test
112+
- run: cargo test --features bytemuck
113+
- run: cargo test --features extra-sizes
109114
- run: cargo test --features serde
115+
- run: cargo test --features zeroize
110116
- run: cargo test --all-features

0 commit comments

Comments
 (0)