Skip to content

Commit 398054a

Browse files
[hotfix] Update CI strategy. This closes #61
1. Test all PRs for `main` against all supported versions, meaning 1.17.x and 1.18.x. That's because only PRs run the dependency convergence check, and not nightly builds. 2. Make sure that we test nightlies against all supported versions (currently 1.17.x for the `v3.0` branch plus 1.17.x and 1.18.x against `main`)
1 parent c829d7a commit 398054a

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/push_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
compile_and_test:
2626
strategy:
2727
matrix:
28-
flink: [ 1.17.1 ]
28+
flink: [ 1.17.1, 1.18-SNAPSHOT ]
2929
uses: apache/flink-connector-shared-utils/.github/workflows/ci.yml@ci_utils
3030
with:
3131
flink_version: ${{ matrix.flink }}

.github/workflows/weekly.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,18 @@ jobs:
2626
if: github.repository_owner == 'apache'
2727
strategy:
2828
matrix:
29-
flink: [1.17-SNAPSHOT, 1.18-SNAPSHOT]
29+
flink_branches: [{
30+
flink: 1.17.1,
31+
branch: v3.0
32+
}, {
33+
flink: 1.17.1,
34+
branch: main
35+
}, {
36+
flink: 1.18-SNAPSHOT,
37+
branch: main
38+
}]
3039
uses: apache/flink-connector-shared-utils/.github/workflows/ci.yml@ci_utils
3140
with:
32-
flink_version: ${{ matrix.flink }}
41+
flink_version: ${{ matrix.flink_branches.flink }}
42+
connector_branch: ${{ matrix.flink_branches.branch }}
3343
run_dependency_convergence: false

0 commit comments

Comments
 (0)