Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 5c78a9b

Browse files
Fix CI a bit
1 parent 62f8716 commit 5c78a9b

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,22 @@ jobs:
2121
tool: cargo-hack
2222
- name: Check a few configurations
2323
run: |
24-
cargo hack --feature-powerset check
24+
cargo hack --feature-powerset --exclude-features=default,full check
2525
- name: Run examples
26+
shell: bash
2627
run: |
2728
pushd merde
28-
cargo run --features full --example simple
29-
cargo run --features full --example mixed
30-
cargo run --features full --example into_static
29+
EXAMPLES=($(cd examples && for i in *; do echo "${i%.rs}"; done))
30+
for example in "${EXAMPLES[@]}"; do
31+
cargo run --features full --example "$example"
32+
done
33+
popd
34+
- name: Test zerodeps-example
35+
shell: bash
36+
run: |
37+
pushd zerodeps-example
38+
cargo check
39+
cargo check --features=merde
40+
cargo tree --prefix none --no-dedupe | grep -v compact_str
41+
cargo tree --prefix none --no-dedupe --features=merde | grep compact_str
3142
popd

0 commit comments

Comments
 (0)