Skip to content

Commit

Permalink
🔧 chore(test.yml): update poetry installation script to use official …
Browse files Browse the repository at this point in the history
…installer

✨ feat(test.yml): add support for poetry version 1.4.2
  • Loading branch information
iktakahiro committed Apr 15, 2023
1 parent 7666c2c commit 2d7a5fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
strategy:
matrix:
python-version: [3.11]
poetry-version: [1.4.2]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -19,7 +20,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
curl -sSL https://install.python-poetry.org | POETRY_HOME=$HOME/.poetry/ python
$HOME/.poetry/bin/poetry install
$HOME/.poetry/bin/poetry env use python${{ matrix.python-version }}
- name: Pytest
Expand Down

0 comments on commit 2d7a5fb

Please sign in to comment.