Merge pull request #360 from brarcher/github-action

Create android.yml
This commit is contained in:
Branden Archer 2020-03-08 22:15:55 -07:00 committed by GitHub
commit 38fc515372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

27
.github/workflows/android.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Android CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build
run: ./gradlew assembleRelease
- name: Check lint
run: ./gradlew lintRelease
- name: Run unit tests
run: ./gradlew testReleaseUnitTest
- name: FindBugs
run: ./gradlew findbugs