Skip to content

Commit

Permalink
Remove matrix from java compat suites (#132)
Browse files Browse the repository at this point in the history
Platform does not test compat tests with other jvms. We should not do it
as well. It'll consume a lot of resources because ubicloud is not
planned for client-compatibility-suites repo.

There're 96 jobs that some of which takes 4 hours to run, it's not
feasible to run that many combinations

see
https://github.com/hazelcast/client-compatibility-suites/actions/runs/11034999323
  • Loading branch information
srknzl authored Sep 30, 2024
1 parent 2b21a59 commit 7ee6299
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions .github/workflows/java_client_compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,37 +33,22 @@ jobs:

test_client:
needs: [setup_server_matrix]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
server-version: ${{ fromJson(needs.setup_server_matrix.outputs.matrix) }}
kind: [ os, enterprise ]
os: [ ubuntu-latest ]
java: [ { version: 17, distribution: corretto },
{ version: 21, distribution: corretto },
{ version: 17, distribution: zulu },
{ version: 21, distribution: zulu },
{ version: 17, distribution: semeru },
{ version: 21, distribution: semeru },
{ version: 17, distribution: oracle },
{ version: 21, distribution: oracle },
{ version: 17, distribution: microsoft },
{ version: 21, distribution: microsoft },
{ version: 17, distribution: adopt-openj9 },
{ version: 21, distribution: adopt-openj9 }
]

name: Test Java client ${{ github.event.inputs.branch_name }} branch against ${{ matrix.kind }} ${{ matrix.server-version }} server on ${{ matrix.os }} and JVM ${{ matrix.java.version }} ${{ matrix.java.distribution }}
name: Test Java client ${{ github.event.inputs.branch_name }} branch against ${{ matrix.kind }} ${{ matrix.server-version }} server
steps:
- name: Checkout to scripts
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java.version }}
distribution: ${{ matrix.java.distribution }}
java-version: ${{ env.JAVA_VERSION }}
distribution: ${{ env.JAVA_DISTRIBUTION }}

- name: Checkout to ${{ github.event.inputs.branch_name }}
uses: actions/checkout@v4
Expand Down

0 comments on commit 7ee6299

Please sign in to comment.