Skip to content

Commit 690b8b2

Browse files
Run tests on PR
1 parent 1f0d91a commit 690b8b2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/tests_and_publish.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches:
66
- main
7+
pull_request:
8+
branches:
9+
- main
710
release:
811
types: [created]
912

@@ -94,4 +97,5 @@ jobs:
9497
merge-multiple: true
9598
path: dist
9699
- name: Publish package distributions to PyPI
100+
if: github.event_name != 'pull_request'
97101
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)