Skip to content

Commit 9fcced8

Browse files
add test workflow call to release workflow
1 parent d38ee43 commit 9fcced8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,15 @@ permissions:
2424
contents: read
2525

2626
jobs:
27+
test:
28+
uses: ./.github/workflows/test.yml
29+
with:
30+
os: "macos-latest,ubuntu-latest,windows-latest"
31+
secrets: inherit
32+
2733
linux:
2834
runs-on: ${{ matrix.platform.runner }}
35+
needs: test
2936
strategy:
3037
matrix:
3138
platform:
@@ -61,6 +68,7 @@ jobs:
6168

6269
musllinux:
6370
runs-on: ${{ matrix.platform.runner }}
71+
needs: test
6472
strategy:
6573
matrix:
6674
platform:
@@ -92,6 +100,7 @@ jobs:
92100

93101
windows:
94102
runs-on: ${{ matrix.platform.runner }}
103+
needs: test
95104
strategy:
96105
matrix:
97106
platform:
@@ -119,6 +128,7 @@ jobs:
119128

120129
macos:
121130
runs-on: ${{ matrix.platform.runner }}
131+
needs: test
122132
strategy:
123133
matrix:
124134
platform:
@@ -145,6 +155,7 @@ jobs:
145155

146156
sdist:
147157
runs-on: ubuntu-latest
158+
needs: test
148159
steps:
149160
- uses: actions/checkout@v4
150161
- name: Build sdist

0 commit comments

Comments
 (0)