diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml new file mode 100644 index 0000000..78bc1fa --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,25 @@ +name: Android CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build-and-test: + + 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: Add execute permission to gradlew + run: chmod u+x ./gradlew + - name: Build with Gradle + run: ./gradlew build + - name: Test project + run: ./gradlew test