mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-13 01:05:48 +03:00
Take 4: not environment variables
This commit is contained in:
parent
cba8e09494
commit
7e59428f00
17
.github/workflows/test-windows.yml
vendored
17
.github/workflows/test-windows.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user