Skip to content

Commit 9151dda

Browse files
shinaokaclaude
andcommitted
ci: run tests with single thread to avoid HDF5 cleanup issues
HDF5 library has known cleanup issues when tests run in parallel, causing 'infinite loop closing library' and SIGSEGV on Linux. This is a workaround until the root cause is investigated. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b049974 commit 9151dda

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ jobs:
8989
run: cargo build --workspace --verbose
9090
- name: Run tests
9191
shell: bash -el {0}
92-
run: cargo test --workspace --verbose
92+
# Run with single thread to avoid HDF5 library cleanup issues
93+
run: cargo test --workspace --verbose -- --test-threads=1
9394

9495
test-features:
9596
name: test features (${{ matrix.features }})
@@ -123,7 +124,7 @@ jobs:
123124
run: cargo build --workspace --features "${{ matrix.features }}" --verbose
124125
- name: Test with features
125126
shell: bash -el {0}
126-
run: cargo test --workspace --features "${{ matrix.features }}" --verbose
127+
run: cargo test --workspace --features "${{ matrix.features }}" --verbose -- --test-threads=1
127128

128129
macos:
129130
name: macOS
@@ -140,7 +141,7 @@ jobs:
140141
HDF5_PREFIX=$(brew --prefix hdf5)
141142
echo "HDF5_DIR=${HDF5_PREFIX}" >> $GITHUB_ENV
142143
- name: Build and test
143-
run: cargo test --workspace --verbose
144+
run: cargo test --workspace --verbose -- --test-threads=1
144145

145146
interop-julia:
146147
name: Julia interop

0 commit comments

Comments
 (0)