Skip to content

Commit 2ac6361

Browse files
Update tensor test configuration in public CI
1 parent 257dea8 commit 2ac6361

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/conda-package.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ jobs:
222222
run: |
223223
if [[ "${{ matrix.python }}" == "${{ env.python-ver-test-all-dtypes }}" ]]; then
224224
export DPNP_TEST_ALL_INT_TYPES=1
225-
python -m pytest -ra --pyargs ${{ env.package-name }}.tests
225+
python -m pytest -ra --ignore=dpnp/tests/tensor --pyargs ${{ env.package-name }}.tests
226226
else
227-
python -m pytest -n auto -ra --pyargs ${{ env.package-name }}.tests
227+
python -m pytest -n auto -ra --ignore=dpnp/tests/tensor --pyargs ${{ env.package-name }}.tests
228228
fi
229229
230230
- name: Run tests
@@ -242,19 +242,19 @@ jobs:
242242
243243
if [[ "${{ matrix.python }}" == "${{ env.python-ver-test-all-dtypes }}" ]]; then
244244
export DPNP_TEST_ALL_INT_TYPES=1
245-
python -m pytest -ra --pyargs ${{ env.package-name }}.tests
245+
python -m pytest -ra --ignore=dpnp/tests/tensor --pyargs ${{ env.package-name }}.tests
246246
else
247-
python -m pytest -n auto -ra --pyargs ${{ env.package-name }}.tests
247+
python -m pytest -n auto -ra --ignore=dpnp/tests/tensor --pyargs ${{ env.package-name }}.tests
248248
fi
249249
250250
- name: Run tensor tests
251251
if: env.rerun-tests-on-failure != 'true'
252252
run: |
253-
python -m pytest -n auto -ra --pyargs dpctl_ext.tests
253+
python -m pytest -n auto -ra --pyargs dpnp.tests.tensor
254254
255255
- name: Run tensor tests
256256
if: env.rerun-tests-on-failure == 'true'
257-
id: run_tests_dpctl_ext_linux
257+
id: run_tests_tensor_linux
258258
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
259259
with:
260260
timeout_minutes: ${{ env.rerun-tests-timeout }}
@@ -265,7 +265,7 @@ jobs:
265265
. $CONDA/etc/profile.d/mamba.sh
266266
mamba activate ${{ env.test-env-name }}
267267
268-
python -m pytest -n auto -ra --pyargs dpctl_ext.tests
268+
python -m pytest -n auto -ra --pyargs dpnp.tests.tensor
269269
270270
test_windows:
271271
name: Test
@@ -404,9 +404,9 @@ jobs:
404404
run: |
405405
if (${{ matrix.python }} -eq ${{ env.python-ver-test-all-dtypes }}) {
406406
$env:DPNP_TEST_ALL_INT_TYPES=1
407-
python -m pytest -ra --pyargs ${{ env.package-name }}.tests
407+
python -m pytest -ra --ignore=dpnp/tests/tensor --pyargs ${{ env.package-name }}.tests
408408
} else {
409-
python -m pytest -n auto -ra --pyargs ${{ env.package-name }}.tests
409+
python -m pytest -n auto -ra --ignore=dpnp/tests/tensor --pyargs ${{ env.package-name }}.tests
410410
}
411411
412412
- name: Run tests
@@ -421,28 +421,28 @@ jobs:
421421
command: |
422422
if ( ${{ matrix.python }} -eq ${{ env.python-ver-test-all-dtypes }} ) {
423423
$env:DPNP_TEST_ALL_INT_TYPES=1
424-
python -m pytest -ra --pyargs ${{ env.package-name }}.tests
424+
python -m pytest -ra --ignore=dpnp/tests/tensor --pyargs ${{ env.package-name }}.tests
425425
} else {
426-
python -m pytest -n auto -ra --pyargs ${{ env.package-name }}.tests
426+
python -m pytest -n auto -ra --ignore=dpnp/tests/tensor --pyargs ${{ env.package-name }}.tests
427427
}
428428
429429
- name: Run tensor tests
430430
if: env.rerun-tests-on-failure != 'true'
431431
shell: pwsh
432432
run: |
433-
python -m pytest -n auto -ra --pyargs dpctl_ext.tests
433+
python -m pytest -n auto -ra --pyargs dpnp.tests.tensor
434434
435435
- name: Run tensor tests
436436
if: env.rerun-tests-on-failure == 'true'
437-
id: run_tests_dpctl_ext_win
437+
id: run_tests_tensor_win
438438
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
439439
with:
440440
timeout_minutes: ${{ env.rerun-tests-timeout }}
441441
max_attempts: ${{ env.rerun-tests-max-attempts }}
442442
retry_on: any
443443
shell: pwsh
444444
command: |
445-
python -m pytest -n auto -ra --pyargs dpctl_ext.tests
445+
python -m pytest -n auto -ra --pyargs dpnp.tests.tensor
446446
447447
upload:
448448
name: Upload

0 commit comments

Comments
 (0)