From 55c50a6bb343256ebf1dab6389994bd79465c371 Mon Sep 17 00:00:00 2001 From: Rabi Panda Date: Fri, 12 Feb 2021 11:47:15 -0800 Subject: [PATCH] Only run pre-commit checks in GitHub actions. (#94) Signed-off-by: Peter Nied --- .github/workflows/CI.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2b4979ad106..d8859451eea 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,4 +1,4 @@ -name: Build and Test Search +name: Search CI on: push: branches: @@ -8,8 +8,8 @@ on: - main jobs: - search_sanity: - name: Search Sanity Checks + precommit_check: + name: Precommit Checks runs-on: ubuntu-latest steps: - name: Checkout Search @@ -18,7 +18,5 @@ jobs: 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 + - name: Run Precommit Checks + run: ./gradlew precommit --parallel