Skip to content

Commit addd690

Browse files
committed
ReInstall dpnp on failure
1 parent 74715ae commit addd690

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/cron-run-tests.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,14 @@ jobs:
7878
activate-environment: ${{ env.TEST_ENV_NAME }}
7979

8080
- name: Install dpnp
81+
id: install_dpnp
82+
run: |
83+
mamba install ${{ env.PACKAGE_NAME }}=${{ steps.find_latest_tag.outputs.tag }} pytest ${{ env.CHANNELS }}
84+
85+
- name: ReInstall dpnp
86+
if: steps.install_dpnp.outcome == 'failure'
8187
run: |
8288
mamba install ${{ env.PACKAGE_NAME }}=${{ steps.find_latest_tag.outputs.tag }} pytest ${{ env.CHANNELS }}
83-
env:
84-
MAMBA_NO_LOW_SPEED_LIMIT: 1
8589
8690
- name: List installed packages
8791
run: mamba list

0 commit comments

Comments
 (0)