mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
STY: Commit suggestions from PR review.
This commit is contained in:
parent
941ff61f17
commit
2067f60409
|
@ -25,10 +25,7 @@ if [[ $(uname) != CYGWIN* ]]; then
|
|||
cmake meson imagemagick libharfbuzz-dev libfribidi-dev
|
||||
fi
|
||||
|
||||
if [[ $(uname -mo) != i*86" Cygwin" ]]; then
|
||||
python3 -m pip install --upgrade pip
|
||||
fi
|
||||
|
||||
python3 -m pip install --upgrade pip
|
||||
python3 -m pip install --upgrade wheel
|
||||
python3 -m pip install coverage
|
||||
python3 -m pip install defusedxml
|
||||
|
|
12
.github/workflows/test-cygwin.yml
vendored
12
.github/workflows/test-cygwin.yml
vendored
|
@ -9,11 +9,10 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
python-minor-version: [7, 8, 9]
|
||||
architecture: ["x86_64"]
|
||||
|
||||
timeout-minutes: 40
|
||||
|
||||
name: Python 3.${{ matrix.python-minor-version }} ${{ matrix.architecture }}
|
||||
name: Python 3.${{ matrix.python-minor-version }}
|
||||
|
||||
steps:
|
||||
- name: Fix line endings
|
||||
|
@ -26,7 +25,7 @@ jobs:
|
|||
- name: Install Cygwin
|
||||
uses: cygwin/cygwin-install-action@v2
|
||||
with:
|
||||
platform: ${{ matrix.architecture }}
|
||||
platform: x86_64
|
||||
packages: >
|
||||
ImageMagick gcc-g++ ghostscript jpeg libfreetype-devel
|
||||
libimagequant-devel libjpeg-devel liblapack-devel
|
||||
|
@ -50,9 +49,9 @@ jobs:
|
|||
uses: actions/cache@v3
|
||||
with:
|
||||
path: 'C:\cygwin\home\runneradmin\.cache\pip'
|
||||
key: ${{ runner.os }}-cygwin-${{ matrix.architecture }}-pip3.${{ matrix.python-minor-version }}-${{ hashFiles('.ci/install.sh') }}
|
||||
key: ${{ runner.os }}-cygwin-pip3.${{ matrix.python-minor-version }}-${{ hashFiles('.ci/install.sh') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-cygwin-${{ matrix.architecture }}-pip3.${{ matrix.python-minor-version }}-
|
||||
${{ runner.os }}-cygwin-pip3.${{ matrix.python-minor-version }}-
|
||||
|
||||
- name: Ensure correct python minor version used in scripts
|
||||
shell: bash.exe -eo pipefail -o igncr "{0}"
|
||||
|
@ -71,7 +70,6 @@ jobs:
|
|||
bash.exe .ci/install.sh
|
||||
|
||||
- name: Install a different NumPy
|
||||
if: matrix.architecture == 'x86_64'
|
||||
shell: dash.exe -l "{0}"
|
||||
run: |
|
||||
python3 -m pip install -U 'numpy!=1.21.*'
|
||||
|
@ -119,7 +117,7 @@ jobs:
|
|||
with:
|
||||
file: ./coverage.xml
|
||||
flags: GHA_Cygwin
|
||||
name: Cygwin Python 3.${{ matrix.python-minor-version }} ${{ matrix.architecture }}
|
||||
name: Cygwin Python 3.${{ matrix.python-minor-version }}
|
||||
|
||||
success:
|
||||
needs: build
|
||||
|
|
|
@ -485,7 +485,7 @@ These platforms are built and tested for every change.
|
|||
| +----------------------------+---------------------+
|
||||
| | 3.9 (MinGW) | x86, x86-64 |
|
||||
| +----------------------------+---------------------+
|
||||
| | 3.7, 3.8, 3.9 (Cygwin) | x86, x86-64 |
|
||||
| | 3.7, 3.8, 3.9 (Cygwin) | x86-64 |
|
||||
+----------------------------------+----------------------------+---------------------+
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user