migration fix #24
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-master | |
on: | |
pull_request: | |
branches: | |
- 'master' | |
push: | |
branches: | |
- 'master' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Change wrapper permissions | |
run: chmod +x ./KidPhone/gradlew | |
- name: Build with Gradle | |
run: ./KidPhone/gradlew build | |
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: Change wrapper permissions | |
run: chmod +x ./KidPhone/gradlew | |
- name: Unit tests | |
run: cd ./KidPhone/ && ./gradlew test --stacktrace |