From f7ae08325b35498beb56d71d64aef316ac1ec818 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Thu, 28 Nov 2019 10:00:53 +0100 Subject: Added Android emulator test --- .github/workflows/android-emulator.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/android-emulator.yml (limited to '.github') diff --git a/.github/workflows/android-emulator.yml b/.github/workflows/android-emulator.yml new file mode 100644 index 000000000..963b084f7 --- /dev/null +++ b/.github/workflows/android-emulator.yml @@ -0,0 +1,29 @@ +name: Android Emulator test + +on: [push] + +jobs: + 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: ./gradlew assemblePlayDebugAndroidTest + - name: Android Emulator test + uses: ReactiveCircus/android-emulator-runner@v1.0.1 + with: + api-level: 28 + headless: true + disable-animations: true + script: ./gradlew connectedPlayDebugAndroidTest + - uses: actions/upload-artifact@v1 + if: failure() + with: + name: test-report + path: app/build/reports/androidTests/connected/flavors/PLAY/ -- cgit v1.2.3