Skip to content

Commit

Permalink
Fix integration tests with unreleased versions of OpenSearch.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Aug 15, 2024
1 parent be56ae8 commit 7743aa2
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/integration-unreleased.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@ jobs:
strategy:
fail-fast: false
matrix:
opensearch_ref: [ '1.x', '2.x', 'main' ]

entry:
- { branch: "1.x", java-version: "11" }
- { branch: "2.x", java-version: "17" }
- { branch: "main", java-version: "17" }

steps:
- name: Checkout OpenSearch
uses: actions/checkout@v4
with:
repository: opensearch-project/opensearch
ref: ${{ matrix.opensearch_ref }}
ref: ${{ matrix.entry.branch }}
path: opensearch

- name: Get OpenSearch branch top
Expand All @@ -32,8 +35,8 @@ jobs:

- uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '11'
distribution: "temurin"
java-version: ${{ matrix.entry.java-version }}

- name: Assemble OpenSearch
if: steps.cache-restore.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 7743aa2

Please sign in to comment.