Skip to content

Commit

Permalink
Add pip install test during publish (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhugonnet authored Dec 22, 2023
1 parent 32def01 commit a9f75d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
# Build package, test pip install works, then upload to PyPI with twine
run: |
python setup.py sdist bdist_wheel
pip install dist/*.tar.gz
twine upload dist/*

0 comments on commit a9f75d4

Please sign in to comment.