Skip to content

Commit

Permalink
Fix the CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
frostming committed Dec 17, 2021
1 parent bdd910b commit 1ea89b9
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,16 @@ jobs:
- name: Install Poetry
shell: bash
run: |
curl -fsSL -o install-poetry.py https://install.python-poetry.org
python install-poetry.py -y
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
echo "%USERPROFILE%/.poetry/bin" >> $GITHUB_PATH
- name: Setup Poetry
curl -fsSL https://install.python-poetry.org | python - -y
- name: Update PATH
if: ${{ matrix.os != 'Windows' }}
run: echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Update Path for Windows
if: ${{ matrix.os == 'Windows' }}
shell: bash
run: echo "$APPDATA\Python\Scripts" >> $GITHUB_PATH
- name: Configure Poetry
shell: bash
run: |
poetry config virtualenvs.in-project true
Expand Down

0 comments on commit 1ea89b9

Please sign in to comment.