Skip to content

Commit a6a1ee3

Browse files
committed
CI: Gate PyPI deployment on test suite passing
1 parent 99f5d69 commit a6a1ee3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/build_deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ permissions:
88
contents: read
99

1010
jobs:
11+
test:
12+
uses: ./.github/workflows/test.yml
13+
1114
deploy:
15+
needs: test
1216

1317
runs-on: ubuntu-latest
1418

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
branches: [ "main", "develop" ]
99
pull_request:
1010
branches: [ "main", "develop" ]
11+
workflow_call:
1112
workflow_dispatch:
1213

1314
jobs:

0 commit comments

Comments
 (0)