Skip to content

Commit

Permalink
[hotfix][ci] Utilizes matrix strategy in GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
morazow authored and XComp committed Mar 27, 2024
1 parent d93d911 commit 69d1638
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,21 @@ name: "CI"

on: [push, pull_request]

env:
FLINK_TAR_URL: "https://s3.amazonaws.com/flink-nightly/flink-1.18-SNAPSHOT-bin-scala_2.12.tgz"

jobs:
ci:
name: CI using JDK ${{ matrix.java_version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java_version: [ 8, 11, 17 ]
steps:
- uses: actions/checkout@v3
- name: "Build images"
run: |
./add-custom.sh -u "https://s3.amazonaws.com/flink-nightly/flink-1.18-SNAPSHOT-bin-scala_2.12.tgz" -j 8 -n test-java8
./add-custom.sh -u "https://s3.amazonaws.com/flink-nightly/flink-1.18-SNAPSHOT-bin-scala_2.12.tgz" -j 11 -n test-java11
./add-custom.sh -u "https://s3.amazonaws.com/flink-nightly/flink-1.18-SNAPSHOT-bin-scala_2.12.tgz" -j 17 -n test-java17
./add-custom.sh -u "$FLINK_TAR_URL" -j ${{ matrix.java_version }} -n "test-java${{ matrix.java_version }}"
- name: "Test images"
run: testing/run_tests.sh

0 comments on commit 69d1638

Please sign in to comment.