From bcfb7519a0b42a780a0efb832161ee6078e4f669 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke Date: Tue, 21 Jun 2022 10:01:18 -0700 Subject: [PATCH] Backport PR #47318: CI: Pin PYTEST_WORKERS=1 for Windows builds due to memory errors --- .github/workflows/macos-windows.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos-windows.yml b/.github/workflows/macos-windows.yml index 560a421ec74ec..923ac8f2e0fd6 100644 --- a/.github/workflows/macos-windows.yml +++ b/.github/workflows/macos-windows.yml @@ -15,7 +15,6 @@ on: env: PANDAS_CI: 1 PYTEST_TARGET: pandas - PYTEST_WORKERS: auto PATTERN: "not slow and not db and not network and not single_cpu" @@ -36,6 +35,9 @@ jobs: # https://github.community/t/concurrecy-not-work-for-push/183068/7 group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.env_file }}-${{ matrix.os }} cancel-in-progress: true + env: + # GH 47443: PYTEST_WORKERS > 1 crashes Windows builds with memory related errors + PYTEST_WORKERS: ${{ matrix.os == 'macos-latest' && 'auto' || '1' }} steps: - name: Checkout