Skip to content

Commit e29ac71

Browse files
committed
Test --workspace in CI
1 parent 7eac914 commit e29ac71

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: Build and test all crates
6161
run: |
6262
[ "${{matrix.mpi}}" != "" ] && FEATURES=mpio
63-
cargo test -vv --features="$FEATURES"
63+
cargo test -vv --features="$FEATURES" --workspace
6464
6565
conda:
6666
name: conda
@@ -109,7 +109,7 @@ jobs:
109109
[ "${{runner.os}}" != "Windows" ] && export RUSTFLAGS="-C link-args=-Wl,-rpath,$CONDA_PREFIX/lib"
110110
[ "${{matrix.mpi}}" == "mpich" ] && [ "${{runner.os}}" == "Linux" ] && export MPICH_CC=$(which gcc)
111111
[ "${{matrix.mpi}}" == "openmpi" ] && [ "${{runner.os}}" == "Linux" ] && export OMPI_CC=$(which gcc)
112-
cargo test -vv --features="$FEATURES"
112+
cargo test -vv --features="$FEATURES" --workspace
113113
114114
static:
115115
name: static
@@ -161,7 +161,7 @@ jobs:
161161
- name: Build and test all crates
162162
run: |
163163
[ "${{matrix.mpi}}" != "serial" ] && FEATURES=mpio
164-
cargo test -vv --features="$FEATURES"
164+
cargo test -vv --features="$FEATURES" --workspace
165165
166166
msi:
167167
name: msi
@@ -207,7 +207,7 @@ jobs:
207207
7z x hdf5.zip -y
208208
msiexec /i ${{env.MSI_PATH}} /quiet /qn /norestart
209209
- name: Build and test all crates
210-
run: cargo test -vv
210+
run: cargo test --workspace -vv
211211

212212
msrv:
213213
name: Minimal Supported Rust Version
@@ -238,4 +238,4 @@ jobs:
238238
- name: Install dependencies
239239
run: sudo apt-get install wine64 mingw-w64
240240
- name: Build and test
241-
run: env CARGO_TARGET_X86_64_PC_WINDOWS_GNU_RUNNER=wine64 cargo test --features hdf5-sys/static --target x86_64-pc-windows-gnu -- --skip test_compile_fail
241+
run: env CARGO_TARGET_X86_64_PC_WINDOWS_GNU_RUNNER=wine64 cargo test --workspace --features hdf5-sys/static --target x86_64-pc-windows-gnu -- --skip test_compile_fail

0 commit comments

Comments
 (0)