Skip to content

Commit 76b56e5

Browse files
committed
fix: update Windows installation commands to use PowerShell syntax
1 parent 0f8fa3a commit 76b56e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Test wheel installation on Windows
5959
if: startsWith(matrix.os, 'windows')
6060
run: |
61-
for f in dist/*.whl; do pip install "$f"; done
61+
Get-ChildItem dist/*.whl | ForEach-Object { pip install $_.FullName }
6262
pip uninstall -y memoryos
6363
- name: Test wheel installation on Linux / Mac
6464
if: ${{ !startsWith(matrix.os, 'windows') }}
@@ -68,7 +68,7 @@ jobs:
6868
- name: Test sdist installation on Windows
6969
if: startsWith(matrix.os, 'windows')
7070
run: |
71-
for f in dist/*.tar.gz; do pip install "$f"; done
71+
Get-ChildItem dist/*.tar.gz | ForEach-Object { pip install $_.FullName }
7272
pip uninstall -y memoryos
7373
- name: Test sdist installation on Linux / Mac
7474
if: ${{ !startsWith(matrix.os, 'windows') }}

0 commit comments

Comments
 (0)