mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-21 05:50:10 +01:00
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@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@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/
|