Skip to content

Commit

Permalink
fix poetry path
Browse files Browse the repository at this point in the history
  • Loading branch information
HerrMuellerluedenscheid authored and FlorianLudwig committed Jan 11, 2022
1 parent 3467f71 commit 8961b8f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ jobs:
- name: Install dependencies
run: |
curl -sSL https://install.python-poetry.org | python -
$HOME/.poetry/bin/poetry install --extras ci
$HOME/.local/bin/poetry install --extras ci
- name: Lint with flake8 and black
run: |
$HOME/.poetry/bin/poetry run flake8 tests/ amqtt/ --count --statistics --show-source --ignore=E501,W503,W605,E722
$HOME/.poetry/bin/poetry run black . --check
$HOME/.local/bin/poetry run flake8 tests/ amqtt/ --count --statistics --show-source --ignore=E501,W503,W605,E722
$HOME/.local/bin/poetry run black . --check
- name: Test with pytest
run: |
$HOME/.poetry/bin/poetry run pytest --cov amqtt --cov tests --cov-report=term --cov-report=xml
$HOME/.local/bin/poetry run pytest --cov amqtt --cov tests --cov-report=term --cov-report=xml
- name: Upload coverage data to coveralls.io
run: |
$HOME/.poetry/bin/poetry run coveralls --service=github
$HOME/.local/bin/poetry run coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8961b8f

Please sign in to comment.