From 97feab89d2e16571d7c1cf804fa913055ec93b75 Mon Sep 17 00:00:00 2001 From: Moritz Hoffmann Date: Mon, 27 Nov 2023 16:41:57 -0500 Subject: [PATCH] Check whole workspace in ci Signed-off-by: Moritz Hoffmann --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b3cef797e..5bb781018 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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