8
- ".github/workflows/docs.yml"
9
- ".github/workflows/wheels*"
15
- ".github/workflows/docs.yml"
16
- ".github/workflows/wheels*"
26
group: ${{ github.workflow }}-${{ github.ref }}
27
cancel-in-progress: true
34
runs-on: windows-latest
38
python-minor-version: [9]
42
name: Python 3.${{ matrix.python-minor-version }}
45
- name: Fix line endings
47
git config --global core.autocrlf input
49
- name: Checkout Pillow
50
uses: actions/checkout@v4
52
- name: Install Cygwin
53
uses: cygwin/cygwin-install-action@v4
75
python3${{ matrix.python-minor-version }}-cython
76
python3${{ matrix.python-minor-version }}-devel
77
python3${{ matrix.python-minor-version }}-ipython
78
python3${{ matrix.python-minor-version }}-numpy
79
python3${{ matrix.python-minor-version }}-sip
80
python3${{ matrix.python-minor-version }}-tkinter
85
- name: Add Lapack to PATH
86
uses: egor-tensin/cleanup-path@v4
88
dirs: 'C:\cygwin\bin;C:\cygwin\lib\lapack'
90
- name: Select Python version
92
ln -sf c:/cygwin/bin/python3.${{ matrix.python-minor-version }} c:/cygwin/bin/python3
95
uses: actions/cache@v4
97
path: 'C:\cygwin\home\runneradmin\.cache\pip'
98
key: ${{ runner.os }}-cygwin-pip3.${{ matrix.python-minor-version }}-${{ hashFiles('.ci/install.sh') }}
100
${{ runner.os }}-cygwin-pip3.${{ matrix.python-minor-version }}-
102
- name: Build system information
104
dash.exe -c "python3 .github/workflows/system-info.py"
106
- name: Install dependencies
108
bash.exe .ci/install.sh
111
shell: bash.exe -eo pipefail -o igncr "{0}"
117
bash.exe xvfb-run -s '-screen 0 1024x768x24' .ci/test.sh
119
- name: Prepare to upload errors
122
dash.exe -c "mkdir -p Tests/errors"
124
- name: Upload errors
125
uses: actions/upload-artifact@v4
131
- name: After success
133
bash.exe .ci/after_success.sh
135
- name: Upload coverage
136
uses: codecov/codecov-action@v4
140
name: Cygwin Python 3.${{ matrix.python-minor-version }}
141
token: ${{ secrets.CODECOV_ORG_TOKEN }}
147
runs-on: ubuntu-latest
148
name: Cygwin Test Successful
151
run: echo Cygwin Test Successful