Skip to content

Commit

Permalink
use pipx for github action
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberma committed Sep 22, 2024
1 parent 17b3388 commit b479476
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v2

- name: Build
run: python --version && pip install poetry && poetry install
run: python --version && pip install pipx && pipx install poetry && poetry install

test:
runs-on: ubuntu-latest
Expand All @@ -36,11 +36,11 @@ jobs:
uses: actions/checkout@v2

- name: Install Poetry
run: pip install poetry
run: pip install pipx && pipx install poetry

- name: Install dependencies
run: poetry install

- name: Test
run: poetry run pytest -v --cov=flapy --cov-branch --cov-report html:cov_html --cov-report=term-missing tests/
working-directory: ${{ github.workspace }}
working-directory: ${{ github.workspace }}

0 comments on commit b479476

Please sign in to comment.