Fix potential NPE for KnnVectorQuery (#15334) #7667
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Run checks: module lucene/distribution.tests" | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- 'main' | |
- 'branch_10x' | |
push: | |
branches: | |
- 'main' | |
- 'branch_10x' | |
permissions: {} | |
env: | |
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} | |
jobs: | |
test: | |
name: Run distribution.tests | |
timeout-minutes: 15 | |
strategy: | |
matrix: | |
# ubuntu-latest is checked as part of run-checks-everything.yml | |
# windows-latest is slow and sometimes flaky. | |
os: [ macos-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
with: | |
persist-credentials: false | |
- name: Configure tools | |
uses: ./.github/actions/prepare-for-build | |
- name: Run 'gradlew lucene/distribution.tests test' (on ${{ matrix.os }}) | |
run: ./gradlew -p lucene/distribution.tests test |