Skip to content

Commit

Permalink
fix: add missing poetry run command (#1954)
Browse files Browse the repository at this point in the history
  • Loading branch information
bossenti authored Sep 22, 2023
1 parent fb6ebc8 commit 518f909
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pypi-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
working-directory: ./streampipes-client-python
run: |
poetry build
twine check --strict dist/*
poetry run twine check --strict dist/*
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
Expand All @@ -59,7 +59,7 @@ jobs:
- name: Publish new doc version and update alias
working-directory: ./streampipes-client-python
run: |
mike deploy ${GITHUB_REF##*/} latest -u --deploy-prefix ./streampipes-client-python/docs-tmp -b ${GITHUB_REF}
poetry run mike deploy ${GITHUB_REF##*/} latest -u --deploy-prefix ./streampipes-client-python/docs-tmp -b ${GITHUB_REF}
git reset --hard # undo local changes that delete generated doc files
- name: Publish Python docs as artifact
Expand Down
4 changes: 2 additions & 2 deletions streampipes-client-python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@

.PHONY: check
check: mypy lint unit-tests
interrogate -c pyproject.toml
poetry run interrogate -c pyproject.toml

.PHONY: doc
doc:
poetry run mkdocs build

.PHONY: lint
lint:
flake8 streampipes --max-line-length 120
poetry run flake8 streampipes --max-line-length 120

.PHONY: livedoc
livedoc: doc
Expand Down

0 comments on commit 518f909

Please sign in to comment.