restricting search queries #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sanity Check Application | |
on: pull_request | |
env: | |
ONTOLOGY_SERVICE_ONTOLOGY: hp | |
ONTOLOGY_SERVICE_LOAD: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
~/.m2/repository | |
key: ${{ runner.os }}-gradle-test-${{ hashFiles('**/*.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-gradle-test- | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Setup Google Cloud CLI | |
uses: 'google-github-actions/setup-gcloud@v1' | |
- name: Get ontology data | |
run: | | |
bash ontology.sh hp | |
- name: Run the tests | |
run: | | |
./gradlew test | |