Skip to content

Commit 23a4542

Browse files
committed
Try to avoid CI segfault by forcing tests to be single-threaded
1 parent dc7f83d commit 23a4542

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,10 @@ jobs:
3333
run: pip install "${{ matrix.numpy-version }}" .[dev]
3434

3535
- name: Run unit tests
36+
env:
37+
OMP_NUM_THREADS: 1
38+
OPENBLAS_NUM_THREADS: 1
39+
MKL_NUM_THREADS: 1
40+
VECLIB_MAXIMUM_THREADS: 1
41+
NUMEXPR_NUM_THREADS: 1
3642
run: pytest -v tests --ignore tests/integration --typeguard-packages=malariagen_data,malariagen_data.anoph

0 commit comments

Comments
 (0)