Skip to content

Commit

Permalink
added cloud tests for jdbc-2 client-2
Browse files Browse the repository at this point in the history
  • Loading branch information
chernser committed Dec 19, 2024
1 parent f671be3 commit 0814b5d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,14 +205,16 @@ jobs:
path: |
**/target/failsafe-reports
**/target/surefire-reports
test-http-client:
test-with-cloud:
runs-on: ubuntu-latest
needs: compile
strategy:
matrix:
# most recent LTS releases as well as latest stable builds
# https://github.com/ClickHouse/ClickHouse/pulls?q=is%3Aopen+is%3Apr+label%3Arelease
clickhouse: ["cloud"]
project: ["clickhouse-http-client", "clickhouse-jdbc", "client-v2", "jdbc-v2"]
fail-fast: false
timeout-minutes: 15
name: Java client (http) + CH ${{ matrix.clickhouse }}
Expand Down Expand Up @@ -252,13 +254,13 @@ jobs:
</toolchains>
EOF
- name: Install Java client
run: mvn --also-make --batch-mode --no-transfer-progress --projects clickhouse-http-client -DskipTests install
run: mvn --also-make --batch-mode --no-transfer-progress -DskipTests install
- name: Test http client
env:
CLICKHOUSE_CLOUD_HOST: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}
CLICKHOUSE_CLOUD_PASSWORD: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }}
run: |
mvn --batch-mode --no-transfer-progress --projects clickhouse-http-client -DclickhouseVersion=${{ matrix.clickhouse }} -Dprotocol=http verify
mvn --batch-mode --no-transfer-progress --projects ${{ matrix.project }} -DclickhouseVersion=${{ matrix.clickhouse }} -Dprotocol=http verify
- name: Upload test results
uses: actions/upload-artifact@v4
if: failure()
Expand All @@ -273,7 +275,7 @@ jobs:
needs: compile
strategy:
matrix:
clickhouse: ["23.8", "24.3", "24.6", "latest", "cloud"]
clickhouse: ["23.8", "24.3", "24.6", "latest"]
# here http, http_client and apache_http_client represent different value of http_connection_provider
protocol: ["http", "http_client", "apache_http_client"]
fail-fast: false
Expand Down

0 comments on commit 0814b5d

Please sign in to comment.