Skip to content

Commit 9d452cb

Browse files
committed
ci: Fix Github Action can't use matrix in uses
Signed-off-by: Xuanwo <github@xuanwo.io>
1 parent bd95e0e commit 9d452cb

File tree

1 file changed

+26
-11
lines changed

1 file changed

+26
-11
lines changed

.github/workflows/dev-linux.yml

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -145,22 +145,37 @@ jobs:
145145
with:
146146
dirs: ${{ matrix.dirs }}
147147

148-
test_state_linux:
148+
test_stateless_standalone_linux:
149149
timeout-minutes: 20
150-
name: test_${{ matrix.state }}_${{ matrix.mode }}_linux
151150
runs-on: [self-hosted, X64, Linux, development]
152151
needs: build_gnu
153-
strategy:
154-
matrix:
155-
state:
156-
- "stateful"
157-
- "stateless"
158-
mode:
159-
- "standalone"
160-
- "cluster"
161152
steps:
162153
- uses: actions/checkout@v3
163-
- uses: ./.github/actions/test_${{ matrix.state }}_${{ matrix.mode }}_linux
154+
- uses: ./.github/actions/test_stateless_standalone_linux
155+
156+
test_stateless_cluster_linux:
157+
timeout-minutes: 20
158+
runs-on: [self-hosted, X64, Linux, development]
159+
needs: build_gnu
160+
steps:
161+
- uses: actions/checkout@v3
162+
- uses: ./.github/actions/test_stateless_cluster_linux
163+
164+
test_stateful_standalone_linux:
165+
timeout-minutes: 20
166+
runs-on: [ self-hosted, X64, Linux, development ]
167+
needs: build_gnu
168+
steps:
169+
- uses: actions/checkout@v3
170+
- uses: ./.github/actions/test_stateful_standalone_linux
171+
172+
test_stateful_cluster_linux:
173+
timeout-minutes: 20
174+
runs-on: [ self-hosted, X64, Linux, development ]
175+
needs: build_gnu
176+
steps:
177+
- uses: actions/checkout@v3
178+
- uses: ./.github/actions/test_stateful_cluster_linux
164179

165180
test_fuzz_standalone_linux:
166181
timeout-minutes: 10

0 commit comments

Comments
 (0)