Last active
January 25, 2020 13:45
-
-
Save arildojr7/b74ab06631789d6f1d5765a5526c467b to your computer and use it in GitHub Desktop.
GitHub Actions Android file
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: Android CI | |
on: [push] | |
jobs: | |
test: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Run unit tests | |
run: chmod +x ./gradlew && ./gradlew testDebugUnitTest | |
build: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Build with Gradle | |
run: chmod +x ./gradlew && ./gradlew assembleDebug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment