@@ -218,7 +218,7 @@ jobs:
218218 - name : Run tests
219219 if : env.rerun-tests-on-failure != 'true'
220220 run : |
221- if [[ ${{ matrix.python }} == ${{ env.python-ver-test-all-dtypes }} ]]; then
221+ if [[ " ${{ matrix.python }}" == " ${{ env.python-ver-test-all-dtypes }}" ]]; then
222222 export DPNP_TEST_ALL_INT_TYPES=1
223223 python -m pytest -ra --pyargs ${{ env.package-name }}.tests
224224 else
@@ -238,7 +238,7 @@ jobs:
238238 . $CONDA/etc/profile.d/mamba.sh
239239 mamba activate ${{ env.test-env-name }}
240240
241- if [[ ${{ matrix.python }} == ${{ env.python-ver-test-all-dtypes }} ]]; then
241+ if [[ " ${{ matrix.python }}" == " ${{ env.python-ver-test-all-dtypes }}" ]]; then
242242 export DPNP_TEST_ALL_INT_TYPES=1
243243 python -m pytest -ra --pyargs ${{ env.package-name }}.tests
244244 else
@@ -383,9 +383,10 @@ jobs:
383383
384384 - name : Run tests
385385 if : env.rerun-tests-on-failure != 'true'
386+ shell : pwsh
386387 run : |
387388 if (${{ matrix.python }} -eq ${{ env.python-ver-test-all-dtypes }}) {
388- set DPNP_TEST_ALL_INT_TYPES=1
389+ $env: DPNP_TEST_ALL_INT_TYPES=1
389390 python -m pytest -ra --pyargs ${{ env.package-name }}.tests
390391 } else {
391392 python -m pytest -n auto -ra --pyargs ${{ env.package-name }}.tests
@@ -399,9 +400,10 @@ jobs:
399400 timeout_minutes : ${{ env.rerun-tests-timeout }}
400401 max_attempts : ${{ env.rerun-tests-max-attempts }}
401402 retry_on : any
403+ shell : pwsh
402404 command : |
403405 if ( ${{ matrix.python }} -eq ${{ env.python-ver-test-all-dtypes }} ) {
404- set DPNP_TEST_ALL_INT_TYPES=1
406+ $env: DPNP_TEST_ALL_INT_TYPES=1
405407 python -m pytest -ra --pyargs ${{ env.package-name }}.tests
406408 } else {
407409 python -m pytest -n auto -ra --pyargs ${{ env.package-name }}.tests
0 commit comments