Skip to content

Commit e75087d

Browse files
committed
github: Test various feature modes
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
1 parent 6cdeebc commit e75087d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ jobs:
2020
- run: cargo build --all
2121
# test
2222
- run: cargo test --all
23+
- run: cargo test --all-features
24+
- run: cargo test --no-default-features
25+
- run: cargo test --no-default-features --features=alloc
26+
- run: cargo test --no-default-features --features=bits
27+
- run: cargo test --no-default-features --features=logging
2328
# run examples
2429
- run: cargo run --example 2>&1 | grep -P ' ' | awk '{print $1}' | xargs -i cargo run --example {}
25-
# test with no bits feature (don't test docs)
26-
- run: cargo test --lib --examples --tests --features std --no-default-features
2730

2831
# Only build on MSRV, since trybuild will fail on older version
2932
build-msrv:

0 commit comments

Comments
 (0)