summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2019-11-28 10:00:53 +0100
committerByteHamster <info@bytehamster.com>2019-12-12 09:47:15 +0100
commitf7ae08325b35498beb56d71d64aef316ac1ec818 (patch)
treebd84fe5e59a07be0178eb65e3eebfffab15d8655 /.github
parentc21bc58525856851ae8f93534e4a75467036f07e (diff)
downloadAntennaPod-f7ae08325b35498beb56d71d64aef316ac1ec818.zip
Added Android emulator test
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/android-emulator.yml29
1 files changed, 29 insertions, 0 deletions
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/