Skip to content

Commit 0814b5d

Browse files
committed
added cloud tests for jdbc-2 client-2
1 parent f671be3 commit 0814b5d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,14 +205,16 @@ jobs:
205205
path: |
206206
**/target/failsafe-reports
207207
**/target/surefire-reports
208-
test-http-client:
208+
209+
test-with-cloud:
209210
runs-on: ubuntu-latest
210211
needs: compile
211212
strategy:
212213
matrix:
213214
# most recent LTS releases as well as latest stable builds
214215
# https://github.com/ClickHouse/ClickHouse/pulls?q=is%3Aopen+is%3Apr+label%3Arelease
215216
clickhouse: ["cloud"]
217+
project: ["clickhouse-http-client", "clickhouse-jdbc", "client-v2", "jdbc-v2"]
216218
fail-fast: false
217219
timeout-minutes: 15
218220
name: Java client (http) + CH ${{ matrix.clickhouse }}
@@ -252,13 +254,13 @@ jobs:
252254
</toolchains>
253255
EOF
254256
- name: Install Java client
255-
run: mvn --also-make --batch-mode --no-transfer-progress --projects clickhouse-http-client -DskipTests install
257+
run: mvn --also-make --batch-mode --no-transfer-progress -DskipTests install
256258
- name: Test http client
257259
env:
258260
CLICKHOUSE_CLOUD_HOST: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}
259261
CLICKHOUSE_CLOUD_PASSWORD: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }}
260262
run: |
261-
mvn --batch-mode --no-transfer-progress --projects clickhouse-http-client -DclickhouseVersion=${{ matrix.clickhouse }} -Dprotocol=http verify
263+
mvn --batch-mode --no-transfer-progress --projects ${{ matrix.project }} -DclickhouseVersion=${{ matrix.clickhouse }} -Dprotocol=http verify
262264
- name: Upload test results
263265
uses: actions/upload-artifact@v4
264266
if: failure()
@@ -273,7 +275,7 @@ jobs:
273275
needs: compile
274276
strategy:
275277
matrix:
276-
clickhouse: ["23.8", "24.3", "24.6", "latest", "cloud"]
278+
clickhouse: ["23.8", "24.3", "24.6", "latest"]
277279
# here http, http_client and apache_http_client represent different value of http_connection_provider
278280
protocol: ["http", "http_client", "apache_http_client"]
279281
fail-fast: false

0 commit comments

Comments
 (0)