mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-14 15:22:13 +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:
|
env:
|
||||||
COVERAGE_CORE: sysmon
|
COVERAGE_CORE: sysmon
|
||||||
TEST_REQUIREMENTS: "tests, test-arrow"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -39,13 +38,14 @@ jobs:
|
||||||
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
|
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
|
||||||
architecture: ["x64"]
|
architecture: ["x64"]
|
||||||
os: ["windows-latest"]
|
os: ["windows-latest"]
|
||||||
|
pyarrow: ["true"]
|
||||||
include:
|
include:
|
||||||
# Test the oldest Python on 32-bit
|
# 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
|
# test the non-pyarrow capable ones
|
||||||
- { python-version: "3.14", 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", env: {TEST_REQUIREMENTS: "tests"} }
|
- { python-version: "pypy3.11", architecture: "x64", os: "windows-latest", pyarrow: "false" }
|
||||||
- { python-version: "pypy3.10", architecture: "x64", os: "windows-latest", env: {TEST_REQUIREMENTS: "tests"} }
|
- { python-version: "pypy3.10", architecture: "x64", os: "windows-latest", pyarrow: "false" }
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
|
|
||||||
name: Python ${{ matrix.python-version }} (${{ matrix.architecture }})
|
name: Python ${{ matrix.python-version }} (${{ matrix.architecture }})
|
||||||
|
@ -92,6 +92,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install PyQt6
|
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
|
- name: Install dependencies
|
||||||
id: install
|
id: install
|
||||||
run: |
|
run: |
|
||||||
|
@ -190,7 +195,7 @@ jobs:
|
||||||
- name: Build Pillow
|
- name: Build Pillow
|
||||||
run: |
|
run: |
|
||||||
$FLAGS="-C raqm=vendor -C fribidi=vendor"
|
$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
|
& $env:pythonLocation\python.exe selftest.py --installed
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user