Skip to content

Commit 2d5a02d

Browse files
committed
pipeline: test before publish
1 parent c7cf491 commit 2d5a02d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,14 @@ jobs:
2626
- name: Install Hatch
2727
uses: pypa/hatch@install
2828

29+
- name: Run Tests
30+
run: |
31+
hatch test
32+
2933
- name: Build Package
3034
run: |
3135
hatch build
3236
3337
- name: Publish to PyPI
38+
if: ${{ success() }}
3439
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)