Take 4: not environment variables

This commit is contained in:
wiredfool 2025-02-18 22:53:15 +00:00
parent cba8e09494
commit 7e59428f00

View File

@ -28,7 +28,6 @@ concurrency:
env:
COVERAGE_CORE: sysmon
TEST_REQUIREMENTS: "tests, test-arrow"
jobs:
build:
@ -39,13 +38,14 @@ jobs:
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
architecture: ["x64"]
os: ["windows-latest"]
pyarrow: ["true"]
include:
# Test the oldest Python on 32-bit
- { python-version: "3.9", architecture: "x86", os: "windows-2019", env: {TEST_REQUIREMENTS: "tests"} }
- { python-version: "3.9", architecture: "x86", os: "windows-2019", pyarrow: "false" }
# test the non-pyarrow capable ones
- { python-version: "3.14", architecture: "x64", os: "windows-latest", env: {TEST_REQUIREMENTS: "tests"} }
- { python-version: "pypy3.11", architecture: "x64", os: "windows-latest", env: {TEST_REQUIREMENTS: "tests"} }
- { python-version: "pypy3.10", architecture: "x64", os: "windows-latest", env: {TEST_REQUIREMENTS: "tests"} }
- { python-version: "3.14", architecture: "x64", os: "windows-latest", pyarrow: "false" }
- { python-version: "pypy3.11", architecture: "x64", os: "windows-latest", pyarrow: "false" }
- { python-version: "pypy3.10", architecture: "x64", os: "windows-latest", pyarrow: "false" }
timeout-minutes: 30
name: Python ${{ matrix.python-version }} (${{ matrix.architecture }})
@ -92,6 +92,11 @@ jobs:
run: |
python3 -m pip install PyQt6
- name: Install PyArrow Test Dependency
if: "matrix.pyarrow == 'true'"
run: |
python3 -m pip install --only-binary=:all: pyarrow
- name: Install dependencies
id: install
run: |
@ -190,7 +195,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 .[$env:TEST_REQUIREMENTS]"
cmd /c "winbuild\build\build_env.cmd && $env:pythonLocation\python.exe -m pip install -v $FLAGS .[tests]"
& $env:pythonLocation\python.exe selftest.py --installed
shell: pwsh