Skip to content

Commit 848c35b

Browse files
DWeslQuLogic
andauthored
STY,FIX: Apply suggestions from code review
It might be good to make all the "try fork; xfail on BlockingIOError if running on Cygwin" code look like each other, or all use a single helper function somewhere. Co-authored-by: Elliott Sales de Andrade <[email protected]>
1 parent 3709884 commit 848c35b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/cygwin.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
push:
99
branches:
1010
- main
11-
- v[0-9]+.[0-9]+.[0-9x]+.x
11+
- v[0-9]+.[0-9]+.[0-9x]+
1212
tags:
1313
- v*
1414
paths:
@@ -67,7 +67,6 @@ jobs:
6767
)
6868
)
6969
)
70-
env:
7170
strategy:
7271
matrix:
7372
python-minor-version: [8, 9]
@@ -155,15 +154,15 @@ jobs:
155154
uses: actions/cache@v3
156155
with:
157156
path: |
158-
C:\cygwin\home\runneradmin/.cache/matplotlib
159-
!C:\cygwin\home\runneradmin/.cache/matplotlib/tex.cache
160-
!C:\cygwin\home\runneradmin/.cache/matplotlib/test_cache
157+
C:\cygwin\home\runneradmin\.cache\matplotlib
158+
!C:\cygwin\home\runneradmin\.cache\matplotlib\tex.cache
159+
!C:\cygwin\home\runneradmin\.cache\matplotlib\test_cache
161160
key: 1-Cygwin-py3.${{ matrix.python-minor-version }}-mpl-${{ github.ref }}-${{ github.sha }}
162161
restore-keys: |
163162
1-Cygwin-py3.${{ matrix.python-minor-version }}-mpl-${{ github.ref }}-
164163
1-Cygwin-py3.${{ matrix.python-minor-version }}-mpl-
165164
166-
- name: Ensure correct python version
165+
- name: Ensure correct Python version
167166
shell: bash.exe -eo pipefail -o igncr "{0}"
168167
run: |
169168
/usr/sbin/alternatives --set python /usr/bin/python3.${{ matrix.python-minor-version }}
@@ -192,7 +191,7 @@ jobs:
192191
echo 'PySide2 is not available'
193192
python -m pip uninstall --yes wxpython || echo 'wxPython already uninstalled'
194193
195-
- name: Install matplotlib
194+
- name: Install Matplotlib
196195
shell: bash.exe -eo pipefail -o igncr "{0}"
197196
env:
198197
AUTOCONF: /usr/bin/autoconf-2.69

0 commit comments

Comments
 (0)