Skip to content

Commit 0e442ff

Browse files
authored
Merge pull request #7681 from Xuanwo/fix-ci
ci: Fix Github Action can't use matrix in uses
2 parents bd95e0e + ec9ba43 commit 0e442ff

File tree

1 file changed

+28
-11
lines changed

1 file changed

+28
-11
lines changed

.github/workflows/dev-linux.yml

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -145,22 +145,39 @@ 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+
# Wait for issue https://github.com/datafuselabs/databend/issues/7684
173+
#
174+
# test_stateful_cluster_linux:
175+
# timeout-minutes: 20
176+
# runs-on: [ self-hosted, X64, Linux, development ]
177+
# needs: build_gnu
178+
# steps:
179+
# - uses: actions/checkout@v3
180+
# - uses: ./.github/actions/test_stateful_cluster_linux
164181

165182
test_fuzz_standalone_linux:
166183
timeout-minutes: 10

0 commit comments

Comments
 (0)