Skip to content

Commit

Permalink
Backport PR #47318 on branch 1.4.x (CI: Pin PYTEST_WORKERS=1 for Wind…
Browse files Browse the repository at this point in the history
…ows builds due to memory errors) (#47445)

Backport PR #47318: CI: Pin PYTEST_WORKERS=1 for Windows builds due to memory errors

Co-authored-by: Matthew Roeschke <[email protected]>
  • Loading branch information
meeseeksmachine and mroeschke authored Jun 21, 2022
1 parent f0af15c commit 2d370af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/macos-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"


Expand All @@ -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
Expand Down

0 comments on commit 2d370af

Please sign in to comment.