Skip to content

Commit

Permalink
fix poetry install on macOS and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Pwuts committed Mar 20, 2024
1 parent bd1081a commit 374d9a0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/autogpt-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,9 @@ jobs:
- name: Install Python dependencies
run: |
curl -sSL https://install.python-poetry.org | python3 -
PATH="$HOME/.local/bin:$PATH"
echo "$HOME/.local/bin" >> $GITHUB_PATH
poetry install
- name: Run pytest with coverage
Expand Down Expand Up @@ -419,9 +422,14 @@ jobs:
run: |
Invoke-WebRequest -Uri https://install.python-poetry.org -OutFile install-poetry.py
python install-poetry.py
poetry install
rm install-poetry.py
$pyPath = "$env:APPDATA\Python\Scripts"
$env:PATH += ";$pyPath"
echo "$pyPath" >> $GITHUB_PATH
poetry install
- name: Run pytest with coverage
run: |
poetry run pytest -vv \
Expand Down

0 comments on commit 374d9a0

Please # to comment.