Skip to content

Commit 7b3b663

Browse files
committed
Run tests in single thread mode for windows
1 parent 4e1475c commit 7b3b663

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,14 @@ jobs:
8484
id: build_non_windows
8585
run: pip install -e .[test]
8686

87-
- name: Test
87+
- name: Test (Windows)
88+
if: runner.os == 'Windows'
89+
run: python -m pytest -m "not heavy and (network or not network)"
90+
env:
91+
BLOSC_NTHREADS: "1"
92+
NUMEXPR_NUM_THREADS: "1"
93+
OMP_NUM_THREADS: "1"
94+
95+
- name: Test (non-Windows)
96+
if: runner.os != 'Windows'
8897
run: python -m pytest -m "not heavy and (network or not network)"

0 commit comments

Comments
 (0)