Skip to content

Commit

Permalink
ci: update GH actions to use Poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarolopez committed Jun 7, 2024
1 parent f9456ca commit 026a97b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
python -m pip install poetry poetry poetry-plugin-export
- name: Test with tox
run: tox
9 changes: 4 additions & 5 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
python -m pip install poetry poetry poetry-plugin-export
- name: Test with tox
run: tox
Expand All @@ -44,15 +45,13 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
python -m pip install poetry poetry poetry-plugin-export
- name: Build and publish
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python -m pip install --upgrade pip
pip install build
python -m build
twine upload dist/*
poetry build
poetry publish

0 comments on commit 026a97b

Please sign in to comment.