Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Merge #904

Merge #904 #2673

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@v5
-name:Set up Java
uses:actions/setup-java@v5
with:
java-version:17
distribution:'temurin'
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 --info
-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@v5
env:
CODECOV_TOKEN:${{ secrets.CODECOV_TOKEN }}
linter:
runs-on:ubuntu-latest
steps:
-uses:actions/checkout@v5
-name:Set up JDK 17
uses:actions/setup-java@v5
with:
java-version:17
distribution:'temurin'
-name:Run linter
run:bash scripts/lint.sh
-name:Yaml lint check
uses:ibiqlik/action-yamllint@v3
with:
config_file:.yamllint.yml

[8]ページ先頭

©2009-2025 Movatter.jp