Skip to content

Commit 214bf57

Browse files
committed
MAINT: Use Python 3.8 for Cygwin tests.
1 parent c0f90b2 commit 214bf57

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/cygwin.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
platform: x64
2121
install-dir: 'C:\tools\cygwin'
2222
packages: >
23-
python37-devel python37-zipp python37-importlib-metadata
24-
python37-cython python37-pip python37-wheel python37-cffi
25-
python37-pytz python37-setuptools python37-pytest
26-
python37-hypothesis liblapack-devel libopenblas
23+
python38-devel python38-zipp python38-importlib-metadata
24+
python38-cython python38-pip python38-wheel python38-cffi
25+
python38-pytz python38-setuptools python38-pytest
26+
python38-hypothesis liblapack-devel libopenblas
2727
gcc-fortran git dash
2828
- name: Set Windows PATH
2929
uses: egor-tensin/cleanup-path@v1
@@ -40,28 +40,28 @@ jobs:
4040
- name: Verify python version
4141
# Make sure it's the Cygwin one, not a Windows one
4242
run: |
43-
dash -c "which python3.7; /usr/bin/python3.7 --version -V"
43+
dash -c "which python3.8; /usr/bin/python3.8 --version -V"
4444
- name: Build NumPy wheel
4545
run: |
46-
dash -c "/usr/bin/python3.7 -m pip install 'setuptools<49.2.0' pytest pytz cffi pickle5 importlib_metadata typing_extensions"
47-
dash -c "/usr/bin/python3.7 -m pip install -r test_requirements.txt"
48-
dash -c "/usr/bin/python3.7 setup.py bdist_wheel"
46+
dash -c "/usr/bin/python3.8 -m pip install 'setuptools<49.2.0' pytest pytz cffi pickle5 importlib_metadata typing_extensions"
47+
dash -c "/usr/bin/python3.8 -m pip install -r test_requirements.txt"
48+
dash -c "/usr/bin/python3.8 setup.py bdist_wheel"
4949
- name: Install new NumPy
5050
run: |
51-
bash -c "/usr/bin/python3.7 -m pip install dist/numpy-*cp37*.whl"
51+
bash -c "/usr/bin/python3.8 -m pip install dist/numpy-*cp38*.whl"
5252
- name: Run NumPy test suite
5353
run: >-
54-
dash -c "/usr/bin/python3.7 runtests.py -n -vv"
54+
dash -c "/usr/bin/python3.8 runtests.py -n -vv"
5555
- name: Upload wheel if tests fail
5656
uses: actions/upload-artifact@v2
5757
if: failure()
5858
with:
5959
name: numpy-cygwin-wheel
60-
path: dist/numpy-*cp37*.whl
60+
path: dist/numpy-*cp38*.whl
6161
- name: On failure check the extension modules
6262
if: failure()
6363
run: |
64-
dash -c "/usr/bin/python3.7 -m pip show numpy"
65-
dash -c "/usr/bin/python3.7 -m pip show -f numpy | grep .dll"
64+
dash -c "/usr/bin/python3.8 -m pip show numpy"
65+
dash -c "/usr/bin/python3.8 -m pip show -f numpy | grep .dll"
6666
dash -c "/bin/tr -d '\r' <tools/list_installed_dll_dependencies_cygwin.sh >list_dlls_unix.sh"
6767
dash "list_dlls_unix.sh"

0 commit comments

Comments
 (0)