Only run pre-commit checks in GitHub actions. (#94)
Signed-off-by: Peter Nied <petern@amazon.com>
This commit is contained in:
parent
5f1c8c87b1
commit
55c50a6bb3
|
@ -1,4 +1,4 @@
|
||||||
name: Build and Test Search
|
name: Search CI
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
@ -8,8 +8,8 @@ on:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
search_sanity:
|
precommit_check:
|
||||||
name: Search Sanity Checks
|
name: Precommit Checks
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Search
|
- name: Checkout Search
|
||||||
|
@ -18,7 +18,5 @@ jobs:
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: 14
|
java-version: 14
|
||||||
- name: Run Pre-commit Checks
|
- name: Run Precommit Checks
|
||||||
run: ./gradlew precommit
|
run: ./gradlew precommit --parallel
|
||||||
- name: Run Unit Tests
|
|
||||||
run: ./gradlew test --parallel
|
|
||||||
|
|
Loading…
Reference in New Issue