Skip to content

Instantly share code, notes, and snippets.

@akexorcist
Created April 3, 2021 20:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akexorcist/e587d1c89222a27d5e85821a19359af5 to your computer and use it in GitHub Desktop.
Save akexorcist/e587d1c89222a27d5e85821a19359af5 to your computer and use it in GitHub Desktop.
Android CI Workflow for GitHub Actions - Unit Test Job
#...
jobs:
test:
name: Unit 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: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run Unit test
run: ./gradlew test
apk:
# ...
firebase:
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment