Skip to content

Commit

Permalink
Fix CI a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Sep 13, 2024
1 parent 62f8716 commit 5c78a9b
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,22 @@ jobs:
tool: cargo-hack
- name: Check a few configurations
run: |
cargo hack --feature-powerset check
cargo hack --feature-powerset --exclude-features=default,full check
- name: Run examples
shell: bash
run: |
pushd merde
cargo run --features full --example simple
cargo run --features full --example mixed
cargo run --features full --example into_static
EXAMPLES=($(cd examples && for i in *; do echo "${i%.rs}"; done))
for example in "${EXAMPLES[@]}"; do
cargo run --features full --example "$example"
done
popd
- name: Test zerodeps-example
shell: bash
run: |
pushd zerodeps-example
cargo check
cargo check --features=merde
cargo tree --prefix none --no-dedupe | grep -v compact_str
cargo tree --prefix none --no-dedupe --features=merde | grep compact_str
popd

0 comments on commit 5c78a9b

Please sign in to comment.