Skip to content

[#5563] Improvement(docs): Improve Docker test instructions to enhance user clarity and guidance #5792

[#5563] Improvement(docs): Improve Docker test instructions to enhance user clarity and guidance

[#5563] Improvement(docs): Improve Docker test instructions to enhance user clarity and guidance #5792

name: Flink Integration Test
# Controls when the workflow will run
on:
push:
branches: [ "main", "branch-*" ]
pull_request:
branches: [ "main", "branch-*" ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
source_changes:
- .github/**
- api/**
- bin/**
- catalogs/**
- clients/client-java/**
- clients/client-java-runtime/**
- common/**
- conf/**
- core/**
- dev/**
- flink-connector/**
- gradle/**
# todo: uncomment the following line after the flink-connector support Iceberg
# - iceberg/**
- integration-test-common/**
- meta/**
- scripts/**
- server/**
- server-common/**
- build.gradle.kts
- gradle.properties
- gradlew
- setting.gradle.kts
outputs:
source_changes: ${{ steps.filter.outputs.source_changes }}
FlinkIT-on-push:
needs: changes
if: (github.event_name == 'push' && needs.changes.outputs.source_changes == 'true')
strategy:
matrix:
architecture: [linux/amd64]
java-version: [ 8, 11, 17 ]
uses: ./.github/workflows/flink-integration-test-action.yml
with:
architecture: ${{ matrix.architecture }}
java-version: ${{ matrix.java-version }}
FlinkIT-on-pr:
needs: changes
if: (github.event_name == 'pull_request' && needs.changes.outputs.source_changes == 'true')
strategy:
matrix:
architecture: [linux/amd64]
java-version: [ 17 ]
uses: ./.github/workflows/flink-integration-test-action.yml
with:
architecture: ${{ matrix.architecture }}
java-version: ${{ matrix.java-version }}