Use testOnly in unit-test sample. #371
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: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- uses: pre-commit/[email protected] | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v3 | |
- name: build samples | |
run: | | |
./gradlew build | |