Skip to content

Commit ba09c7e

Browse files
committed
Use a less fancy way of setting min/max NEP29 versions for Python/NumPy
1 parent 2d293bb commit ba09c7e

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/ci_tests.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525

2626
jobs:
2727
test:
28-
name: ${{ matrix.os }} - Python ${{ matrix.python-version }}/NumPy ${{ env.NUMPY-VERSION }}
28+
name: ${{ matrix.os }} - Python ${{ matrix.python-version }} / NumPy ${{ matrix.numpy-version }}
2929
runs-on: ${{ matrix.os }}
3030
strategy:
3131
fail-fast: false
@@ -41,9 +41,15 @@ jobs:
4141
isDraft: true
4242
- os: windows-latest
4343
isDraft: true
44-
- os: ubuntu-latest
45-
python-version: 3.7
46-
isDraft: true
44+
# - os: ubuntu-latest
45+
# python-version: 3.7
46+
# isDraft: true
47+
include:
48+
# Pair Python 3.7 with NumPy 1.17 and Python 3.9 with NumPy 1.20
49+
- python-version: 3.7
50+
numpy-version: '1.17'
51+
- python-version: 3.9
52+
numpy-version: '1.20'
4753
defaults:
4854
run:
4955
shell: bash -l {0}
@@ -52,8 +58,6 @@ jobs:
5258
env:
5359
OS: ${{ matrix.os }}
5460
PYTHON: ${{ matrix.python-version }}
55-
# Pair Python 3.7 with NumPy 1.17 and Python 3.9 with NumPy 1.20
56-
NUMPY-VERSION: ${{ matrix.python-version == '3.7' && '1.17' || '1.20' }}
5761

5862
steps:
5963
# Cancel previous runs that are not completed

0 commit comments

Comments
 (0)