@@ -247,6 +247,26 @@ jobs:
247247 python -m pytest -n auto -ra --pyargs ${{ env.package-name }}.tests
248248 fi
249249
250+ - name : Run tensor tests
251+ if : env.rerun-tests-on-failure != 'true'
252+ run : |
253+ python -m pytest -n auto -ra --pyargs dpctl_ext.tests
254+
255+ - name : Run tensor tests
256+ if : env.rerun-tests-on-failure == 'true'
257+ id : run_tests_dpctl_ext_linux
258+ uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
259+ with :
260+ timeout_minutes : ${{ env.rerun-tests-timeout }}
261+ max_attempts : ${{ env.rerun-tests-max-attempts }}
262+ retry_on : any
263+ command : |
264+ . $CONDA/etc/profile.d/conda.sh
265+ . $CONDA/etc/profile.d/mamba.sh
266+ mamba activate ${{ env.test-env-name }}
267+
268+ python -m pytest -n auto -ra --pyargs dpctl_ext.tests
269+
250270 test_windows :
251271 name : Test
252272
@@ -406,6 +426,24 @@ jobs:
406426 python -m pytest -n auto -ra --pyargs ${{ env.package-name }}.tests
407427 }
408428
429+ - name : Run tensor tests
430+ if : env.rerun-tests-on-failure != 'true'
431+ shell : pwsh
432+ run : |
433+ python -m pytest -n auto -ra --pyargs dpctl_ext.tests
434+
435+ - name : Run tensor tests
436+ if : env.rerun-tests-on-failure == 'true'
437+ id : run_tests_dpctl_ext_win
438+ uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
439+ with :
440+ timeout_minutes : ${{ env.rerun-tests-timeout }}
441+ max_attempts : ${{ env.rerun-tests-max-attempts }}
442+ retry_on : any
443+ shell : pwsh
444+ command : |
445+ python -m pytest -n auto -ra --pyargs dpctl_ext.tests
446+
409447 upload :
410448 name : Upload
411449
0 commit comments