Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only run pre-commit checks in GitHub actions. #94

Merged
merged 2 commits into from
Feb 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Test Search
name: Search CI
on:
push:
branches:
Expand All @@ -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
Expand All @@ -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