Skip to content

Commit 351f101

Browse files
Fix setting tests_path for Windows in conda-package.yml
1 parent b996d90 commit 351f101

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/conda-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@ jobs:
418418
419419
- name: Set tests_path for installed package
420420
run: |
421-
tests_path=$(python -c "import site; import os; print(os.path.join(site.getsitepackages()[0], 'dpnp', 'tests'))")
422-
echo "tests_path=$tests_path" >> $GITHUB_ENV
421+
FOR /F "delims=" %i IN ('python -c "import site, os; print(os.path.join(site.getsitepackages()[0], 'dpnp', 'tests'))"') DO SET tests_path=%i
422+
echo tests_path=%tests_path%>>%GITHUB_ENV%
423423
424424
- name: Run tests
425425
if: env.RERUN_TESTS_ON_FAILURE != 'true'

0 commit comments

Comments
 (0)