[#7823] feat(server): upgrade Gravitino server and Iceberg REST server mini JDK version to 17 #5980
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: New 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@v4 | |
- uses: dorny/[email protected] | |
id: filter | |
with: | |
filters: | | |
source_changes: | |
- .github/** | |
- api/** | |
- bin/** | |
- catalogs/** | |
- clients/client-java/** | |
- clients/client-java-runtime/** | |
- clients/filesystem-hadoop3/** | |
- clients/cli/** | |
- common/** | |
- conf/** | |
- core/** | |
- dev/** | |
- gradle/** | |
- iceberg/** | |
- integration-test-common/** | |
- integration-test/** | |
- meta/** | |
- scripts/** | |
- server/** | |
- bundles/** | |
- server-common/** | |
- build.gradle.kts | |
- gradle.properties | |
- gradlew | |
- setting.gradle.kts | |
outputs: | |
source_changes: ${{ steps.filter.outputs.source_changes }} | |
BackendIT-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 ] | |
backend: [ h2 ] | |
test-mode: [ embedded, deploy ] | |
exclude: | |
- test-mode: 'embedded' | |
backend: 'mysql' | |
- test-mode: 'embedded' | |
backend: 'postgresql' | |
- test-mode: 'deploy' | |
backend: 'h2' | |
uses: ./.github/workflows/integration-test-action.yml | |
with: | |
architecture: ${{ matrix.architecture }} | |
java-version: ${{ matrix.java-version }} | |
backend: ${{ matrix.backend }} | |
test-mode: ${{ matrix.test-mode }} | |
BackendIT-on-pr: | |
needs: changes | |
if: (github.event_name == 'pull_request' && needs.changes.outputs.source_changes == 'true') | |
strategy: | |
matrix: | |
architecture: [ linux/amd64 ] | |
java-version: [ 8, 11, 17 ] | |
backend: [ h2 ] | |
test-mode: [ embedded, deploy ] | |
exclude: | |
- test-mode: 'embedded' | |
backend: 'mysql' | |
- test-mode: 'embedded' | |
backend: 'postgresql' | |
- test-mode: 'deploy' | |
backend: 'h2' | |
uses: ./.github/workflows/integration-test-action.yml | |
with: | |
architecture: ${{ matrix.architecture }} | |
java-version: ${{ matrix.java-version }} | |
backend: ${{ matrix.backend }} | |
test-mode: ${{ matrix.test-mode }} |