Skip to content

Commit 079fd9e

Browse files
committed
CI: Gate PyPI deployment on test suite passing
1 parent 4a6ced8 commit 079fd9e

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

.github/workflows/build_deploy.yml

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

1010
jobs:
11+
test-pyqt5:
12+
uses: ./.github/workflows/test-PyQt5.yml
13+
14+
test-pyqt6:
15+
uses: ./.github/workflows/test-PyQt6.yml
16+
17+
test-pyside6:
18+
uses: ./.github/workflows/test-PySide6.yml
19+
1120
deploy:
21+
needs: [test-pyqt5, test-pyqt6, test-pyside6]
1222

1323
runs-on: ubuntu-latest
1424

.github/workflows/test-PyQt5.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
branches: [ "master" ]
1111
pull_request:
1212
branches: [ "master" ]
13+
workflow_call:
1314

1415
jobs:
1516
build:

.github/workflows/test-PyQt6.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
branches: [ "master" ]
1111
pull_request:
1212
branches: [ "master" ]
13+
workflow_call:
1314

1415
jobs:
1516
build:

.github/workflows/test-PySide6.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
branches: [ "master" ]
1111
pull_request:
1212
branches: [ "master" ]
13+
workflow_call:
1314

1415
jobs:
1516
build:

0 commit comments

Comments
 (0)