Skip to content

Commit 3647624

Browse files
committed
specify numpy version for each python version
1 parent 856c397 commit 3647624

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

.github/workflows/conda-package.yml

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,18 @@ jobs:
104104

105105
test_linux:
106106
needs: build_linux
107-
runs-on: ${{ matrix.runner }}
108-
107+
runs-on: ubuntu-latest
109108
strategy:
110109
matrix:
111-
python: ["3.9", "3.10", "3.11", "3.12"]
112-
numpy: ['1.26*']
113-
experimental: [false]
114-
runner: [ubuntu-latest]
115-
continue-on-error: ${{ matrix.experimental }}
110+
include:
111+
- python: '3.9'
112+
numpy: '1.26'
113+
- python: '3.10'
114+
numpy: '2.2'
115+
- python: '3.11'
116+
numpy: '2.2'
117+
- python: '3.12'
118+
numpy: '2.2'
116119
env:
117120
CHANNELS: -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels
118121

@@ -172,15 +175,19 @@ jobs:
172175
173176
test_windows:
174177
needs: build_windows
175-
runs-on: ${{ matrix.runner }}
178+
runs-on: windows-latest
176179

177180
strategy:
178181
matrix:
179-
python: ["3.9", "3.10", "3.11", "3.12"]
180-
numpy: ['1.26*']
181-
experimental: [false]
182-
runner: [windows-latest]
183-
continue-on-error: ${{ matrix.experimental }}
182+
include:
183+
- python: '3.9'
184+
numpy: '1.26'
185+
- python: '3.10'
186+
numpy: '2.2'
187+
- python: '3.11'
188+
numpy: '2.2'
189+
- python: '3.12'
190+
numpy: '2.2'
184191
env:
185192
CHANNELS: -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels
186193

0 commit comments

Comments
 (0)