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:
authorNiedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com>2020-04-18 14:20:29 +0300
committerGitHub <noreply@github.com>2020-04-18 14:20:29 +0300
commit067c24b9c37f2fa376d71ff7fc4c50a85165a594 (patch)
tree32030c2f53f9f770184356d36f234d007bd975cd /.github
parent712681317bba1e27794089ac805a97c85f3b6dca (diff)
Instrumented tests ci (#386)
* Trial and error - add instrumented tests to CI * Trial and error - add instrumented tests to CI Setup AVD * Trial and error - add instrumented tests to CI Fix action version * Try API level 27 for AVD https://github.com/ReactiveCircus/android-emulator-runner/issues/45 * Try API level 29 for AVD on macos-latest image https://github.com/ReactiveCircus/android-emulator-runner/issues/45 * Explicitly watch instrumented test fail * Fix instrumented tests and prepare merge into master
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