Skip to content

Commit 256cdb9

Browse files
committed
Try to force Python x64 on Windows pytest-pipenv
It was using the 32-bit x86 Python instead of the 64-bit x86-64 Python on Windows in the `pytest-pipenv` job, which was never intended and also caused failures in 3.10, 3.11, 3.12, and 3.13 (during an attempt to build a dependency).
1 parent ff7f723 commit 256cdb9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,18 @@ jobs:
131131
-pyver=${{ matrix.python-version }} Pipfile
132132
133133
- name: Set up Python
134+
if: matrix.os != 'windows-latest'
134135
uses: actions/setup-python@v5
135136
with:
136137
python-version: ${{ matrix.python-version }}
137138

139+
- name: Set up Python
140+
if: matrix.os == 'windows-latest'
141+
uses: actions/setup-python@v5
142+
with:
143+
architecture: x64
144+
python-version: ${{ matrix.python-version }}
145+
138146
- name: Upgrade PyPA packages
139147
run: python -m pip install -U pip setuptools wheel
140148

0 commit comments

Comments
 (0)