From 10c54ebd6a5a9bf1dbb2e61495a19f443b64c2ca Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Tue, 14 Nov 2023 17:11:43 -0500 Subject: [PATCH] [Backport] [2.x] Add Java 11/17/21 matrix for plugin install, test and integration test checks (#3641) (#3715) Backport of https://github.com/opensearch-project/security/pull/3641 to `2.x` --- .github/workflows/ci.yml | 4 ++-- .github/workflows/integration-tests.yml | 2 +- .github/workflows/plugin_install.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11bf02a396..d4036cd7b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: matrix: gradle_task: ${{ fromJson(needs.generate-test-list.outputs.separateTestsNames) }} platform: [windows-latest, ubuntu-latest] - jdk: [11, 17] + jdk: [11, 17, 21] runs-on: ${{ matrix.platform }} steps: @@ -87,7 +87,7 @@ jobs: strategy: fail-fast: false matrix: - jdk: [11, 17] + jdk: [11, 17, 21] platform: [ubuntu-latest] # Removing windows temporarily runs-on: ${{ matrix.platform }} diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 528e06cb0a..a90fbdf8d8 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - jdk: [11, 17] + jdk: [11, 17, 21] test-run: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] steps: diff --git a/.github/workflows/plugin_install.yml b/.github/workflows/plugin_install.yml index 7885888020..1a04c469a8 100644 --- a/.github/workflows/plugin_install.yml +++ b/.github/workflows/plugin_install.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - jdk: [11, 17] + jdk: [11, 17, 21] runs-on: ${{ matrix.os }} steps: