Skip to content

Commit eea1e37

Browse files
committed
fix window tests issues
1 parent a98c899 commit eea1e37

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/simulation-bridge-tests.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Simulation Bridge Tests
22

33
on:
4-
push:
54
pull_request:
65

76
jobs:
@@ -23,12 +22,19 @@ jobs:
2322

2423
- name: Install Poetry
2524
run: |
26-
curl -sSL https://install.python-poetry.org | python3 -
27-
shell: bash
25+
python -m pip install --upgrade pip
26+
curl -sSL https://install.python-poetry.org | python -
27+
env:
28+
POETRY_HOME: ${{ runner.temp }}/poetry
2829

2930
- name: Add Poetry to PATH
30-
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
31-
shell: bash
31+
run: echo "${{ runner.temp }}/poetry/bin" >> $GITHUB_PATH
32+
if: runner.os != 'Windows'
33+
34+
- name: Add Poetry to PATH on Windows
35+
run: echo "${{ runner.temp }}\poetry\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
36+
if: runner.os == 'Windows'
37+
shell: pwsh
3238

3339
- name: Install dependencies via Poetry
3440
run: |

0 commit comments

Comments
 (0)