Skip to content

Commit

Permalink
Check that sdist/wheel can be created and to allow release to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hames committed Sep 27, 2021
1 parent e322727 commit 4496804
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ jobs:
BEARER_TOKEN: ${{ secrets.bearer_token }}
run: python setup.py test

- name: Ensure packages can be built
run: |
python setup.py sdist bdist_wheel
- name: Publish to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 4496804

Please sign in to comment.