3737 actions : write
3838
3939 runs-on : ${{ matrix.os }}
40- timeout-minutes : 80
40+ timeout-minutes : 90
4141
4242 defaults :
4343 run :
@@ -220,6 +220,7 @@ jobs:
220220 - name : Run tests
221221 if : env.rerun-tests-on-failure != 'true'
222222 run : |
223+ export SKIP_TENSOR_TESTS=1
223224 if [[ "${{ matrix.python }}" == "${{ env.python-ver-test-all-dtypes }}" ]]; then
224225 export DPNP_TEST_ALL_INT_TYPES=1
225226 python -m pytest -ra --pyargs ${{ env.package-name }}.tests
@@ -239,6 +240,7 @@ jobs:
239240 . $CONDA/etc/profile.d/conda.sh
240241 . $CONDA/etc/profile.d/mamba.sh
241242 mamba activate ${{ env.test-env-name }}
243+ export SKIP_TENSOR_TESTS=1
242244
243245 if [[ "${{ matrix.python }}" == "${{ env.python-ver-test-all-dtypes }}" ]]; then
244246 export DPNP_TEST_ALL_INT_TYPES=1
@@ -247,6 +249,26 @@ jobs:
247249 python -m pytest -n auto -ra --pyargs ${{ env.package-name }}.tests
248250 fi
249251
252+ - name : Run tensor tests
253+ if : env.rerun-tests-on-failure != 'true'
254+ run : |
255+ python -m pytest -n auto -ra --pyargs dpnp.tests.tensor
256+
257+ - name : Run tensor tests
258+ if : env.rerun-tests-on-failure == 'true'
259+ id : run_tests_tensor_linux
260+ uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
261+ with :
262+ timeout_minutes : ${{ env.rerun-tests-timeout }}
263+ max_attempts : ${{ env.rerun-tests-max-attempts }}
264+ retry_on : any
265+ command : |
266+ . $CONDA/etc/profile.d/conda.sh
267+ . $CONDA/etc/profile.d/mamba.sh
268+ mamba activate ${{ env.test-env-name }}
269+
270+ python -m pytest -n auto -ra --pyargs dpnp.tests.tensor
271+
250272 test_windows :
251273 name : Test
252274
@@ -382,6 +404,7 @@ jobs:
382404 if : env.rerun-tests-on-failure != 'true'
383405 shell : pwsh
384406 run : |
407+ $env:SKIP_TENSOR_TESTS=1
385408 if (${{ matrix.python }} -eq ${{ env.python-ver-test-all-dtypes }}) {
386409 $env:DPNP_TEST_ALL_INT_TYPES=1
387410 python -m pytest -ra --pyargs ${{ env.package-name }}.tests
@@ -399,13 +422,32 @@ jobs:
399422 retry_on : any
400423 shell : pwsh
401424 command : |
425+ $env:SKIP_TENSOR_TESTS=1
402426 if ( ${{ matrix.python }} -eq ${{ env.python-ver-test-all-dtypes }} ) {
403427 $env:DPNP_TEST_ALL_INT_TYPES=1
404428 python -m pytest -ra --pyargs ${{ env.package-name }}.tests
405429 } else {
406430 python -m pytest -n auto -ra --pyargs ${{ env.package-name }}.tests
407431 }
408432
433+ - name : Run tensor tests
434+ if : env.rerun-tests-on-failure != 'true'
435+ shell : pwsh
436+ run : |
437+ python -m pytest -n auto -ra --pyargs dpnp.tests.tensor
438+
439+ - name : Run tensor tests
440+ if : env.rerun-tests-on-failure == 'true'
441+ id : run_tests_tensor_win
442+ uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
443+ with :
444+ timeout_minutes : ${{ env.rerun-tests-timeout }}
445+ max_attempts : ${{ env.rerun-tests-max-attempts }}
446+ retry_on : any
447+ shell : pwsh
448+ command : |
449+ python -m pytest -n auto -ra --pyargs dpnp.tests.tensor
450+
409451 upload :
410452 name : Upload
411453
0 commit comments