Skip to content

Commit

Permalink
Make PyPI deployment depend on unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
drdavella committed Mar 1, 2024
1 parent 5c29ca8 commit 56ed7aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy_to_pypi.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Deploy to PyPI

on:
push:
workflow_run:
workflows: ["Unit Tests"]
types:
- completed
tags:
- "[0-9]+.[0-9]+.[0-9]+"

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- main
- develop
tags:
- "[0-9]+.[0-9]+.[0-9]+"
pull_request:
branches:
- main
Expand Down

0 comments on commit 56ed7aa

Please sign in to comment.