2021-02-19 21:13:40 +01:00
|
|
|
name: Hunspell regression tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
2021-03-10 16:10:06 +01:00
|
|
|
- 'main'
|
2021-02-19 21:13:40 +01:00
|
|
|
paths:
|
|
|
|
- '.github/workflows/hunspell.yml'
|
|
|
|
- 'lucene/analysis/common/**'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
name: Run Hunspell regression tests
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2022-05-18 09:26:06 +09:00
|
|
|
|
2022-02-06 08:00:31 -08:00
|
|
|
- name: Set up JDK
|
2022-02-11 01:13:18 +09:00
|
|
|
uses: actions/setup-java@v2
|
2021-02-19 21:13:40 +01:00
|
|
|
with:
|
2022-02-11 01:13:18 +09:00
|
|
|
distribution: 'temurin'
|
2022-02-06 08:00:31 -08:00
|
|
|
java-version: 17
|
2022-02-11 01:13:18 +09:00
|
|
|
java-package: jdk
|
2022-05-18 09:26:06 +09:00
|
|
|
|
|
|
|
- name: Prepare caches
|
|
|
|
uses: ./.github/actions/gradle-caches
|
|
|
|
|
2021-02-19 21:13:40 +01:00
|
|
|
- name: Initialize gradle settings
|
|
|
|
run: ./gradlew localSettings
|
2022-05-18 09:26:06 +09:00
|
|
|
|
2021-02-19 21:13:40 +01:00
|
|
|
- name: Run regular and regression tests
|
|
|
|
run: ./gradlew -p lucene/analysis/common check testRegressions
|