OpenSearch/.github/workflows/CI.yml

25 lines
509 B
YAML
Raw Normal View History

name: Build and Test Search
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
search_sanity:
name: Search Sanity Checks
runs-on: ubuntu-latest
steps:
- name: Checkout Search
uses: actions/checkout@v2
- name: Setup Java 14
uses: actions/setup-java@v1
with:
java-version: 14
- name: Run Pre-commit Checks
run: ./gradlew precommit
- name: Run Unit Tests
run: ./gradlew test --parallel