Skip to content

Commit

Permalink
Run all examples in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TheQuantumPhysicist committed Apr 17, 2024
1 parent 673e41a commit 9ac918e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
run: cargo test --release --workspace
- name: Run doc tests
run: cargo test --release --doc
- name: Run all examples
run: ls examples/*.rs | xargs -n1 -I{} sh -c 'cargo run --example $(basename {} .rs)'

build_ubuntu:
env:
Expand All @@ -57,6 +59,8 @@ jobs:
run: cargo test --release --workspace
- name: Run doc tests
run: cargo test --release --doc
- name: Run all examples
run: ls examples/*.rs | xargs -n1 -I{} sh -c 'cargo run --example $(basename {} .rs)'

build_macos:
runs-on: macos-latest
Expand All @@ -76,3 +80,5 @@ jobs:
run: cargo test --release --workspace
- name: Run doc tests
run: cargo test --release --doc
- name: Run all examples
run: ls examples/*.rs | xargs -n1 -I{} sh -c 'cargo run --example $(basename {} .rs)'

0 comments on commit 9ac918e

Please sign in to comment.