@@ -133,6 +133,14 @@ jobs:
133133 if : env.rerun-tests-on-failure != 'true'
134134 run : |
135135 python -m pytest -ra --pyargs dpnp.tests
136+ env :
137+ SKIP_TENSOR_TESTS : 1
138+ SYCL_CACHE_PERSISTENT : 1
139+
140+ - name : Run tensor tests
141+ if : env.rerun-tests-on-failure != 'true'
142+ run : |
143+ python -m pytest -ra --pyargs dpnp.tests.tensor
136144 env :
137145 SYCL_CACHE_PERSISTENT : 1
138146
@@ -150,6 +158,24 @@ jobs:
150158 mamba activate ${{ env.test-env-name }}
151159
152160 python -m pytest -ra --pyargs dpnp.tests
161+ env :
162+ SKIP_TENSOR_TESTS : 1
163+ SYCL_CACHE_PERSISTENT : 1
164+
165+ - name : ReRun tensor tests on Linux
166+ if : env.rerun-tests-on-failure == 'true'
167+ id : run_tensor_tests
168+ uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
169+ with :
170+ timeout_minutes : ${{ env.rerun-tests-timeout }}
171+ max_attempts : ${{ env.rerun-tests-max-attempts }}
172+ retry_on : any
173+ command : |
174+ . $CONDA/etc/profile.d/conda.sh
175+ . $CONDA/etc/profile.d/mamba.sh
176+ mamba activate ${{ env.test-env-name }}
177+
178+ python -m pytest -ra --pyargs dpnp.tests.tensor
153179 env :
154180 SYCL_CACHE_PERSISTENT : 1
155181
@@ -239,6 +265,14 @@ jobs:
239265 if : env.rerun-tests-on-failure != 'true'
240266 run : |
241267 python -m pytest -ra --pyargs dpnp.tests
268+ env :
269+ SKIP_TENSOR_TESTS : 1
270+ SYCL_CACHE_PERSISTENT : 1
271+
272+ - name : Run tensor tests
273+ if : env.rerun-tests-on-failure != 'true'
274+ run : |
275+ python -m pytest -ra --pyargs dpnp.tests.tensor
242276 env :
243277 SYCL_CACHE_PERSISTENT : 1
244278
@@ -256,5 +290,23 @@ jobs:
256290 mamba activate ${{ env.test-env-name }}
257291
258292 python -m pytest -ra --pyargs dpnp.tests
293+ env :
294+ SKIP_TENSOR_TESTS : 1
295+ SYCL_CACHE_PERSISTENT : 1
296+
297+ - name : ReRun tensor tests on Linux
298+ if : env.rerun-tests-on-failure == 'true'
299+ id : run_tensor_tests_branch
300+ uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
301+ with :
302+ timeout_minutes : ${{ env.rerun-tests-timeout }}
303+ max_attempts : ${{ env.rerun-tests-max-attempts }}
304+ retry_on : any
305+ command : |
306+ . $CONDA/etc/profile.d/conda.sh
307+ . $CONDA/etc/profile.d/mamba.sh
308+ mamba activate ${{ env.test-env-name }}
309+
310+ python -m pytest -ra --pyargs dpnp.tests.tensor
259311 env :
260312 SYCL_CACHE_PERSISTENT : 1
0 commit comments