From e57ff6e88183407fa8469b8d979464f9d2a44f1b Mon Sep 17 00:00:00 2001 From: geeksville Date: Wed, 4 Mar 2020 19:26:04 -0800 Subject: [PATCH] Add CI --- .github/workflows/android.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/android.yml diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml new file mode 100644 index 000000000..2dc92001d --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,23 @@ +name: Android CI +# from https://medium.com/@wkrzywiec/github-actions-for-android-first-approach-f616c24aa0f9 + +on: + push: + branches: + - '*' + # - '!master' + # - '!release*' + +jobs: + test: + name: Run Unit Tests + runs-on: ubuntu-18.04 + + steps: + - uses: actions/checkout@v1 + - name: set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Unit tests + run: bash ./gradlew test --stacktrace