mirror of https://github.com/apache/lucene.git
41 lines
923 B
YAML
41 lines
923 B
YAML
|
name: Distribution tests
|
||
|
|
||
|
on:
|
||
|
# Allow manual triggers for testing the action.
|
||
|
workflow_dispatch:
|
||
|
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- 'main'
|
||
|
|
||
|
push:
|
||
|
branches:
|
||
|
- 'run-scripts-test-nightly'
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
name: Run distribution tests
|
||
|
|
||
|
runs-on: ${{ matrix.os }}
|
||
|
strategy:
|
||
|
matrix:
|
||
|
# we run the distribution tests on all major OSs.
|
||
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Set up JDK
|
||
|
uses: actions/setup-java@v2
|
||
|
with:
|
||
|
distribution: 'temurin'
|
||
|
java-version: 17
|
||
|
java-package: jdk
|
||
|
- name: Prepare caches
|
||
|
uses: ./.github/actions/gradle-caches
|
||
|
|
||
|
- name: Initialize gradle settings (${{ matrix.os }})
|
||
|
run: ./gradlew localSettings
|
||
|
|
||
|
- name: Run all distribution tests including GUI tests (${{ matrix.os }})
|
||
|
run: ./gradlew -p lucene/distribution.tests test
|