Skip to content

Commit 01b8cd2

Browse files
authored
CI: Pin PYTEST_WORKERS=1 for Windows builds due to memory errors (#47318)
* CI/DEBUG: Windows 3.9 memory error * Try skipping some suspicious tests * Try skipping this hanging test * Check if can run okay on single process * Trigger CI * run in parallel again * Log even more * a little less debugging * dont try new pyarrow * Try one more time with pyarrow<8, simple * Comment out pyarrow hack * Restart, show setup and full traceback * Also try the older windows * generate debug log again * change to latest * dump log if failure * Create separate log per os/version * See if it was any dependencies bumped recently * See if same errors happen without dependencies pinnning * Skip plotting tests on windows * Skip in frame as well * Trigger another run * Is it the non-nano? * skip resample tests * Just use 1 thread for windows * Full run
1 parent 3f72d8c commit 01b8cd2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/macos-windows.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ on:
1515
env:
1616
PANDAS_CI: 1
1717
PYTEST_TARGET: pandas
18-
PYTEST_WORKERS: auto
1918
PATTERN: "not slow and not db and not network and not single_cpu"
2019

2120

@@ -36,6 +35,9 @@ jobs:
3635
# https://github.community/t/concurrecy-not-work-for-push/183068/7
3736
group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.env_file }}-${{ matrix.os }}
3837
cancel-in-progress: true
38+
env:
39+
# GH 47443: PYTEST_WORKERS > 1 crashes Windows builds with memory related errors
40+
PYTEST_WORKERS: ${{ matrix.os == 'macos-latest' && 'auto' || '1' }}
3941

4042
steps:
4143
- name: Checkout

0 commit comments

Comments
 (0)