Skip to content

Bump org.junit.jupiter:junit-jupiter from 5.11.1 to 5.11.3 #2349

Bump org.junit.jupiter:junit-jupiter from 5.11.1 to 5.11.3

Bump org.junit.jupiter:junit-jupiter from 5.11.1 to 5.11.3 #2349

Workflow file for this run

name: Tests
on:
pull_request:
push:
# trying and staging branches are for BORS config
branches:
- trying
- staging
- main
jobs:
tests:
# Will not run if the event is a PR to bump-meilisearch-v* (so a pre-release PR)
# Will still run for each push to bump-meilisearch-v*
if: github.event_name != 'pull_request' || !startsWith(github.base_ref, 'bump-meilisearch-v')
runs-on: ubuntu-latest
name: integration-and-unit-tests
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: 8
distribution: 'zulu'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Meilisearch (latest) setup with Docker
run: docker run -d -p 7700:7700 getmeili/meilisearch:latest meilisearch --master-key=masterKey --no-analytics
- name: Build and run unit and integration tests
run: ./gradlew build integrationTest
- name: Archive test report
uses: actions/upload-artifact@v4
if: failure()
with:
name: Test report
path: build/reports/tests/integrationTest
if-no-files-found: ignore
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
java-version: 8
distribution: 'zulu'
- name: Run linter
run: bash scripts/lint.sh
- name: Yaml lint check
uses: ibiqlik/action-yamllint@v3
with:
config_file: .yamllint.yml