Skip to content

Commit 0c884fd

Browse files
committed
Fix windows matrix tests
1 parent 519255c commit 0c884fd

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
matrix:
4343
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
4444
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
45+
defaults:
46+
run:
47+
shell: bash
4548
runs-on: ${{ matrix.os }}
4649
steps:
4750
#----------------------------------------------
@@ -73,14 +76,6 @@ jobs:
7376
virtualenvs-create: true
7477
virtualenvs-in-project: true
7578
#----------------------------------------------
76-
# Add Poetry to PATH on Windows
77-
#----------------------------------------------
78-
- name: Add Poetry to PATH (Windows)
79-
if: matrix.os == 'windows-latest'
80-
run: |
81-
$env:Path += ";C:\Users\runneradmin\AppData\Roaming\Python\Scripts"
82-
echo "PATH updated for Poetry"
83-
#----------------------------------------------
8479
# load cached venv if cache exists
8580
#----------------------------------------------
8681
- name: Load cached venv

0 commit comments

Comments
 (0)