install pyarrow for those test platforms where it's available

This commit is contained in:
wiredfool 2025-02-14 17:52:44 +00:00
parent 91e275965f
commit 05ae6e9172
3 changed files with 13 additions and 2 deletions

View File

@ -36,6 +36,7 @@ python3 -m pip install -U pytest
python3 -m pip install -U pytest-cov
python3 -m pip install -U pytest-timeout
python3 -m pip install pyroma
python3 -m pip install pyarrow
if [[ $(uname) != CYGWIN* ]]; then
python3 -m pip install numpy

View File

@ -30,6 +30,7 @@ python3 -m pip install -U pytest-cov
python3 -m pip install -U pytest-timeout
python3 -m pip install pyroma
python3 -m pip install numpy
python3 -m pip install pyarrow
# extra test images
pushd depends && ./install_extra_test_images.sh && popd

View File

@ -28,6 +28,7 @@ concurrency:
env:
COVERAGE_CORE: sysmon
TEST_REQUIREMENTS: "tests, test-arrow"
jobs:
build:
@ -35,7 +36,15 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["pypy3.10", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version:
- "pypy3.10",
env: TEST_REQUIREMENTS: tests
- "3.9"
env: TEST_REQUIREMENTS: tests
- "3.10"
- "3.11"
- "3.12"
- "3.13"
timeout-minutes: 30
@ -180,7 +189,7 @@ jobs:
- name: Build Pillow
run: |
$FLAGS="-C raqm=vendor -C fribidi=vendor"
cmd /c "winbuild\build\build_env.cmd && $env:pythonLocation\python.exe -m pip install -v $FLAGS .[tests]"
cmd /c "winbuild\build\build_env.cmd && $env:pythonLocation\python.exe -m pip install -v $FLAGS .[$TEST_REQUIREMENTS]"
& $env:pythonLocation\python.exe selftest.py --installed
shell: pwsh