Skip to content

Commit cd5f35d

Browse files
committed
Add workflow for integration tests
1 parent e5da291 commit cd5f35d

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Integration Tests CI (Java)
2+
3+
on: [push]
4+
5+
jobs:
6+
test-integration-tests:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
clickhouse: [ "23.7", "24.3", "latest", "cloud" ]
12+
flink: [ "1.17.2", "1.18.1", "1.19.3", "1.20.2", "latest"]
13+
steps:
14+
- name: Set up JDK 21
15+
if: env.SKIP_STEP != 'true'
16+
uses: actions/setup-java@v3
17+
with:
18+
java-version: '21'
19+
distribution: 'adopt'
20+
architecture: x64
21+
- name: Publish locally base
22+
if: env.SKIP_STEP != 'true'
23+
uses: gradle/gradle-build-action@v2
24+
with:
25+
arguments: :flink-connector-clickhouse-base:publishToMavenLocal
26+
- name: Publish locally base
27+
if: env.SKIP_STEP != 'true'
28+
uses: gradle/gradle-build-action@v2
29+
with:
30+
arguments: :flink-connector-clickhouse-1.17:publishToMavenLocal
31+
- name: Publish locally base
32+
if: env.SKIP_STEP != 'true'
33+
uses: gradle/gradle-build-action@v2
34+
with:
35+
arguments: :flink-connector-clickhouse-2.0.0:publishToMavenLocal
36+
37+
38+
39+
40+

0 commit comments

Comments
 (0)