Skip to content

Commit 97feab8

Browse files
committed
Check whole workspace in ci
Signed-off-by: Moritz Hoffmann <[email protected]>
1 parent 2c0cf0b commit 97feab8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
steps:
99
- uses: actions/checkout@v3
1010
- run: rustup update 1.70 --no-self-update && rustup default 1.70
11-
- run: cargo build
11+
- run: cargo build --workspace
1212
- name: test mdBook
1313
# rustdoc doesn't build dependencies, so it needs to run after `cargo build`,
1414
# but its dependency search gets confused if there are multiple copies of any
1515
# dependency in target/debug/deps, so it needs to run before `cargo test` et al.
1616
# clutter target/debug/deps with multiple copies of things.
1717
run: for file in $(find mdbook -name '*.md' | sort); do rustdoc --test $file -L ./target/debug/deps; done
18-
- run: cargo test
18+
- run: cargo test --workspace

0 commit comments

Comments
 (0)