Skip to content

Commit

Permalink
Check whole workspace in ci (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
antiguru authored Nov 28, 2023
1 parent 2c0cf0b commit 0b68301
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: rustup update 1.70 --no-self-update && rustup default 1.70
- run: cargo build
- run: cargo build --workspace
- name: test mdBook
# rustdoc doesn't build dependencies, so it needs to run after `cargo build`,
# but its dependency search gets confused if there are multiple copies of any
# dependency in target/debug/deps, so it needs to run before `cargo test` et al.
# clutter target/debug/deps with multiple copies of things.
run: for file in $(find mdbook -name '*.md' | sort); do rustdoc --test $file -L ./target/debug/deps; done
- run: cargo test
- run: cargo test --workspace

0 comments on commit 0b68301

Please sign in to comment.