File tree Expand file tree Collapse file tree 2 files changed +42
-11
lines changed Expand file tree Collapse file tree 2 files changed +42
-11
lines changed Original file line number Diff line number Diff line change 1+ name : Apache Flink ClickHouse Connector Tests CI (Scala)
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ strategy :
9+ fail-fast : false
10+ matrix :
11+ clickhouse : [ "23.7", "24.3", "latest", "cloud" ]
12+ name : Apache Flink ClickHouse Connector tests with ClickHouse ${{ matrix.clickhouse }}
13+ steps :
14+ - name : Check for Cloud Credentials
15+ id : check-cloud-credentials
16+ run : |
17+ if [[ "${{ matrix.clickhouse }}" == "cloud" && (-z "${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}" || -z "${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }}") ]]; then
18+ echo "SKIP_STEP=true" >> $GITHUB_ENV
19+ else
20+ echo "SKIP_STEP=false" >> $GITHUB_ENV
21+ fi
22+ shell : bash
23+ - uses : actions/checkout@v3
24+ if : env.SKIP_STEP != 'true'
25+ - name : Set up JDK 17
26+ if : env.SKIP_STEP != 'true'
27+ uses : actions/setup-java@v3
28+ with :
29+ java-version : ' 21'
30+ distribution : ' adopt'
31+ architecture : x64
32+ - name : Setup and execute Gradle 'runScalaTests' task
33+ if : env.SKIP_STEP != 'true'
34+ uses : gradle/gradle-build-action@v2
35+ env :
36+ CLICKHOUSE_VERSION : ${{ matrix.clickhouse }}
37+ CLICKHOUSE_CLOUD_HOST : ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}
38+ CLICKHOUSE_CLOUD_PASSWORD : ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }}
39+ with :
40+ arguments : runScalaTests
Original file line number Diff line number Diff line change 1- name : Apache Flink ClickHouse Connector Tests CI
1+ name : Apache Flink ClickHouse Connector Tests CI (Java)
22
33on : [push]
44
3737 CLICKHOUSE_CLOUD_HOST : ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}
3838 CLICKHOUSE_CLOUD_PASSWORD : ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }}
3939 with :
40- arguments : test
41- - name : Setup and execute Gradle 'runScalaTests' task
42- if : env.SKIP_STEP != 'true'
43- uses : gradle/gradle-build-action@v2
44- env :
45- CLICKHOUSE_VERSION : ${{ matrix.clickhouse }}
46- CLICKHOUSE_CLOUD_HOST : ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}
47- CLICKHOUSE_CLOUD_PASSWORD : ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }}
48- with :
49- arguments : runScalaTests
40+ arguments : test
You can’t perform that action at this time.
0 commit comments