Skip to content

Bump org.mockito:mockito-junit-jupiter from 5.5.0 to 5.7.0 #470

Bump org.mockito:mockito-junit-jupiter from 5.5.0 to 5.7.0

Bump org.mockito:mockito-junit-jupiter from 5.5.0 to 5.7.0 #470

name: Gradle
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
check:
strategy:
matrix:
entry:
- { opensearch-version: 1.3.13, java-version: 11 }
- { opensearch-version: 1.3.13, java-version: 17 }
- { opensearch-version: 2.11.0, java-version: 11 }
- { opensearch-version: 2.11.0, java-version: 17 }
- { opensearch-version: 2.11.0, java-version: 21 }
runs-on: [ubuntu-latest]
name: Check on ${{ matrix.runs-on }} (JDK-${{ matrix.entry.java-version }}, OpenSearch ${{ matrix.entry.opensearch-version }})
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.entry.java-version }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.entry.java-version }}
distribution: 'temurin'
cache: gradle
- name: Check and Test with Gradle
if: ${{ matrix.runs-on == 'ubuntu-latest' }}
run: ./gradlew check -Popensearch.testcontainers.image-version=${{ matrix.entry.opensearch-version }}
build:
strategy:
matrix:
java-version: [ 11, 17, 21 ]
runs-on: [ubuntu-latest, macos-latest, windows-latest]
name: Build on ${{ matrix.runs-on }} with jdk ${{ matrix.java-version }}
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: gradle
- name: Build with Gradle
run: ./gradlew build -x integrationTest