Adding initial CI workflow for search (#35)

Signed-off-by: Peter Nied <petern@amazon.com>
This commit is contained in:
Sarat Vemulapalli 2021-02-03 12:00:34 -08:00 committed by Peter Nied
parent 6f2cbdf0b8
commit 3da88c2f6c
2 changed files with 34 additions and 0 deletions

18
.github/workflows/CI.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Build and Test Search
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
search_sanity:
name: "Search Sanity Tests"
runs-on: ubuntu-latest
steps:
- name: "Checkout Search"
uses: actions/checkout@v2
- name: "Run tests"
run: ./gradlew ':server:test'

View File

@ -0,0 +1,16 @@
name: "Validate Gradle Wrapper"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
validation:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1