mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-25 00:14:00 +01:00
273724e0a4
This hopefully fixes the retry button for the emulator tests
29 lines
731 B
YAML
29 lines
731 B
YAML
name: Android Emulator test
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macOS-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- 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@v2.2.0
|
|
with:
|
|
api-level: 28
|
|
disable-animations: true
|
|
script: zsh .github/workflows/runTests.sh
|
|
- uses: actions/upload-artifact@v1
|
|
if: failure()
|
|
with:
|
|
name: test-report
|
|
path: app/build/reports/androidTests/connected/flavors/PLAY/
|