28
28
name : Build
29
29
30
30
strategy :
31
+ fail-fast : false
31
32
matrix :
32
33
python : ['3.9', '3.10', '3.11', '3.12', '3.13']
33
34
os : [ubuntu-22.04, windows-2019]
42
43
run :
43
44
shell : ${{ matrix.os == 'windows-2019' && 'cmd /C CALL {0}' || 'bash -el {0}' }}
44
45
45
- continue-on-error : true
46
-
47
46
steps :
48
47
- name : Cancel Previous Runs
49
48
uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
@@ -122,12 +121,11 @@ jobs:
122
121
shell : bash -el {0}
123
122
124
123
strategy :
124
+ fail-fast : false
125
125
matrix :
126
126
python : ['3.9', '3.10', '3.11', '3.12', '3.13']
127
127
os : [ubuntu-latest]
128
128
129
- continue-on-error : true
130
-
131
129
env :
132
130
channel-path : ' ${{ github.workspace }}/channel/'
133
131
pkg-path-in-channel : ' ${{ github.workspace }}/channel/linux-64/'
@@ -147,6 +145,19 @@ jobs:
147
145
tar -xvf ${{ env.pkg-path-in-channel }}/${{ env.PACKAGE_NAME }}-*.tar.bz2 -C ${{ env.extracted-pkg-path }}
148
146
149
147
- name : Setup miniconda
148
+ id : setup_miniconda
149
+ continue-on-error : true
150
+ uses : conda-incubator/setup-miniconda@d2e6a045a86077fb6cad6f5adf368e9076ddaa8d # v3.1.0
151
+ with :
152
+ miniforge-version : latest
153
+ use-mamba : ' true'
154
+ channels : conda-forge
155
+ conda-remove-defaults : ' true'
156
+ python-version : ${{ env.CONDA_BUILD_INDEX_ENV_PY_VER}}
157
+ activate-environment : ${{ env.TEST_ENV_NAME }}
158
+
159
+ - name : ReSetup miniconda
160
+ if : steps.setup_miniconda.outcome == 'failure'
150
161
uses : conda-incubator/setup-miniconda@d2e6a045a86077fb6cad6f5adf368e9076ddaa8d # v3.1.0
151
162
with :
152
163
miniforge-version : latest
@@ -180,11 +191,19 @@ jobs:
180
191
run : mamba remove conda-index
181
192
182
193
- name : Install dpnp
194
+ id : install_dpnp
195
+ continue-on-error : true
196
+ run : |
197
+ mamba install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} pytest python=${{ matrix.python }} ${{ env.TEST_CHANNELS }}
198
+ env :
199
+ TEST_CHANNELS : ' -c ${{ env.channel-path }} ${{ env.CHANNELS }}'
200
+
201
+ - name : ReInstall dpnp
202
+ if : steps.install_dpnp.outcome == 'failure'
183
203
run : |
184
204
mamba install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} pytest python=${{ matrix.python }} ${{ env.TEST_CHANNELS }}
185
205
env :
186
206
TEST_CHANNELS : ' -c ${{ env.channel-path }} ${{ env.CHANNELS }}'
187
- MAMBA_NO_LOW_SPEED_LIMIT : 1
188
207
189
208
- name : List installed packages
190
209
run : mamba list
@@ -226,12 +245,11 @@ jobs:
226
245
shell : cmd /C CALL {0}
227
246
228
247
strategy :
248
+ fail-fast : false
229
249
matrix :
230
250
python : ['3.9', '3.10', '3.11', '3.12', '3.13']
231
251
os : [windows-2019]
232
252
233
- continue-on-error : true
234
-
235
253
env :
236
254
channel-path : ' ${{ github.workspace }}\channel\'
237
255
pkg-path-in-channel : ' ${{ github.workspace }}\channel\win-64\'
0 commit comments