Skip to content

Commit

Permalink
Install poetry with pipx
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Sep 4, 2022
1 parent edddf22 commit 0b6dfc4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Python Poetry Action
uses: abatilo/actions-poetry@v2.1.0
- name: generate cache key PY
run:
echo "PY=$((python -VV; pip freeze; poetry --version) | sha256sum | cut -d' '
Expand All @@ -54,6 +52,7 @@ jobs:
key: >-
cache ${{ secrets.CACHE_DATE }} ${{ env.PY }} ${{ runner.os }} ${{
hashFiles('pyproject.toml') }} ${{ hashFiles('poetry.lock') }}
- run: pipx install poetry
- run: poetry install
# Let tests issue git commits
- run: git config --global user.name CI
Expand Down

0 comments on commit 0b6dfc4

Please sign in to comment.