2828 name : Build
2929
3030 strategy :
31+ fail-fast : false
3132 matrix :
3233 python : ['3.9', '3.10', '3.11', '3.12', '3.13']
3334 os : [ubuntu-22.04, windows-2019]
4243 run :
4344 shell : ${{ matrix.os == 'windows-2019' && 'cmd /C CALL {0}' || 'bash -el {0}' }}
4445
45- continue-on-error : true
46-
4746 steps :
4847 - name : Cancel Previous Runs
4948 uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
@@ -122,12 +121,11 @@ jobs:
122121 shell : bash -el {0}
123122
124123 strategy :
124+ fail-fast : false
125125 matrix :
126126 python : ['3.9', '3.10', '3.11', '3.12', '3.13']
127127 os : [ubuntu-latest]
128128
129- continue-on-error : true
130-
131129 env :
132130 channel-path : ' ${{ github.workspace }}/channel/'
133131 pkg-path-in-channel : ' ${{ github.workspace }}/channel/linux-64/'
@@ -147,6 +145,19 @@ jobs:
147145 tar -xvf ${{ env.pkg-path-in-channel }}/${{ env.PACKAGE_NAME }}-*.tar.bz2 -C ${{ env.extracted-pkg-path }}
148146
149147 - 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'
150161 uses : conda-incubator/setup-miniconda@d2e6a045a86077fb6cad6f5adf368e9076ddaa8d # v3.1.0
151162 with :
152163 miniforge-version : latest
@@ -180,11 +191,19 @@ jobs:
180191 run : mamba remove conda-index
181192
182193 - 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'
183203 run : |
184204 mamba install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} pytest python=${{ matrix.python }} ${{ env.TEST_CHANNELS }}
185205 env :
186206 TEST_CHANNELS : ' -c ${{ env.channel-path }} ${{ env.CHANNELS }}'
187- MAMBA_NO_LOW_SPEED_LIMIT : 1
188207
189208 - name : List installed packages
190209 run : mamba list
@@ -226,12 +245,11 @@ jobs:
226245 shell : cmd /C CALL {0}
227246
228247 strategy :
248+ fail-fast : false
229249 matrix :
230250 python : ['3.9', '3.10', '3.11', '3.12', '3.13']
231251 os : [windows-2019]
232252
233- continue-on-error : true
234-
235253 env :
236254 channel-path : ' ${{ github.workspace }}\channel\'
237255 pkg-path-in-channel : ' ${{ github.workspace }}\channel\win-64\'
0 commit comments