Skip to content

Commit

Permalink
pipeline: test before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Redbot committed Oct 16, 2024
1 parent c7cf491 commit 2d5a02d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@ jobs:
- name: Install Hatch
uses: pypa/hatch@install

- name: Run Tests
run: |
hatch test
- name: Build Package
run: |
hatch build
- name: Publish to PyPI
if: ${{ success() }}
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 2d5a02d

Please sign in to comment.