Skip to content

Commit f967260

Browse files
authored
CI: Use PYTEST_WORKERS=0 instead of 1 for single cpu runtime (#54049)
1 parent 30814ee commit f967260

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/unit-tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ jobs:
173173
uses: ./.github/actions/run-tests
174174
env:
175175
PATTERN: 'single_cpu'
176-
PYTEST_WORKERS: 1
176+
PYTEST_WORKERS: 0
177177
if: ${{ matrix.pattern == '' && (always() && steps.build.outcome == 'success')}}
178178

179179
macos-windows:
@@ -193,8 +193,8 @@ jobs:
193193
PANDAS_CI: 1
194194
PYTEST_TARGET: pandas
195195
PATTERN: "not slow and not db and not network and not single_cpu"
196-
# GH 47443: PYTEST_WORKERS > 1 crashes Windows builds with memory related errors
197-
PYTEST_WORKERS: ${{ matrix.os == 'macos-latest' && 'auto' || '1' }}
196+
# GH 47443: PYTEST_WORKERS > 0 crashes Windows builds with memory related errors
197+
PYTEST_WORKERS: ${{ matrix.os == 'macos-latest' && 'auto' || '0' }}
198198

199199
steps:
200200
- name: Checkout

0 commit comments

Comments
 (0)