Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/android.yml18
1 files changed, 17 insertions, 1 deletions
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index ccf380909..5700a0dce 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -10,7 +10,7 @@ jobs:
- uses: gradle/wrapper-validation-action@v1
test:
- name: Run Unit Tests
+ name: Unit tests
runs-on: ubuntu-18.04
steps:
@@ -22,6 +22,22 @@ jobs:
- name: Unit tests
run: bash ./gradlew test --stacktrace
+ instrumented:
+ name: Android instrumented tests
+ 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: Android instrumented tests
+ uses: reactivecircus/android-emulator-runner@v2
+ with:
+ api-level: 29
+ script: ./gradlew connectDevDebugAndroidTest --stacktrace
+
apk:
name: Generate APK
runs-on: ubuntu-18.04