Skip to content

Commit 7e59428

Browse files
committed
Take 4: not environment variables
1 parent cba8e09 commit 7e59428

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/test-windows.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ concurrency:
2828

2929
env:
3030
COVERAGE_CORE: sysmon
31-
TEST_REQUIREMENTS: "tests, test-arrow"
3231

3332
jobs:
3433
build:
@@ -39,13 +38,14 @@ jobs:
3938
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
4039
architecture: ["x64"]
4140
os: ["windows-latest"]
41+
pyarrow: ["true"]
4242
include:
4343
# Test the oldest Python on 32-bit
44-
- { python-version: "3.9", architecture: "x86", os: "windows-2019", env: {TEST_REQUIREMENTS: "tests"} }
44+
- { python-version: "3.9", architecture: "x86", os: "windows-2019", pyarrow: "false" }
4545
# test the non-pyarrow capable ones
46-
- { python-version: "3.14", architecture: "x64", os: "windows-latest", env: {TEST_REQUIREMENTS: "tests"} }
47-
- { python-version: "pypy3.11", architecture: "x64", os: "windows-latest", env: {TEST_REQUIREMENTS: "tests"} }
48-
- { python-version: "pypy3.10", architecture: "x64", os: "windows-latest", env: {TEST_REQUIREMENTS: "tests"} }
46+
- { python-version: "3.14", architecture: "x64", os: "windows-latest", pyarrow: "false" }
47+
- { python-version: "pypy3.11", architecture: "x64", os: "windows-latest", pyarrow: "false" }
48+
- { python-version: "pypy3.10", architecture: "x64", os: "windows-latest", pyarrow: "false" }
4949
timeout-minutes: 30
5050

5151
name: Python ${{ matrix.python-version }} (${{ matrix.architecture }})
@@ -92,6 +92,11 @@ jobs:
9292
run: |
9393
python3 -m pip install PyQt6
9494
95+
- name: Install PyArrow Test Dependency
96+
if: "matrix.pyarrow == 'true'"
97+
run: |
98+
python3 -m pip install --only-binary=:all: pyarrow
99+
95100
- name: Install dependencies
96101
id: install
97102
run: |
@@ -190,7 +195,7 @@ jobs:
190195
- name: Build Pillow
191196
run: |
192197
$FLAGS="-C raqm=vendor -C fribidi=vendor"
193-
cmd /c "winbuild\build\build_env.cmd && $env:pythonLocation\python.exe -m pip install -v $FLAGS .[$env:TEST_REQUIREMENTS]"
198+
cmd /c "winbuild\build\build_env.cmd && $env:pythonLocation\python.exe -m pip install -v $FLAGS .[tests]"
194199
& $env:pythonLocation\python.exe selftest.py --installed
195200
shell: pwsh
196201

0 commit comments

Comments
 (0)