Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 4b4435e

Browse files
committed
Fix: Update to newer Poetry installer for tests.
1 parent 83006de commit 4b4435e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,12 @@ jobs:
3636
python-version: ${{ matrix.python-version }}
3737
- name: Install dependencies
3838
run: |
39-
python -m pip install --upgrade pip
40-
# Install Poetry per the `instructions <https://python-poetry.org/docs/#osx--linux--bashonwindows-install-instructions>`.
41-
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
42-
$HOME/.poetry/bin/poetry install
39+
# Install Poetry per the `instructions <https://python-poetry.org/docs/master/#installing-with-the-official-installer>`.
40+
curl -sSL https://install.python-poetry.org | python3 -
41+
$HOME/.local/bin/poetry install
4342
- name: Tests
4443
run: |
45-
$HOME/.poetry/bin/poetry run pytest
44+
$HOME/.local/bin/poetry run pytest
4645
4746
- uses: act10ns/slack@v1
4847
with:

0 commit comments

Comments
 (0)