Update dependency ch.qos.logback:logback-classic to v1.4.11 #1433
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run instrumented tests | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
android-test-aer: | |
name: "Android Emulator Runner" | |
runs-on: macos-latest | |
timeout-minutes: 80 | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'zulu' | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v2 | |
- name: Run instrumented tests | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: 24 | |
profile: Galaxy Nexus | |
disable-animations: true | |
disk-size: 2000M | |
heap-size: 600M | |
script: | | |
adb logcat -c | |
adb logcat > logcat.txt & | |
./gradlew connectedAndroidTest --stacktrace | |
- name: Save Test Results | |
uses: actions/upload-artifact@v3 | |
if: ${{ always() }} | |
with: | |
name: test-results | |
path: | | |
/Users/runner/work/alkaa/alkaa/app/build/reports/androidTests/ | |
./logcat.txt | |
retention-days: 7 | |
android-test-gmd: | |
name: "Gradle Managed Devices" | |
runs-on: macos-latest | |
timeout-minutes: 80 | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'zulu' | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v2 | |
- name: Run instrumented tests | |
run: ./gradlew cleanManagedDevices --unused-only && | |
./gradlew alkaaDevicesGroupDebugAndroidTest -Dorg.gradle.workers.max=1 | |
-Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" -Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true | |
- name: Save Test Results | |
uses: actions/upload-artifact@v3 | |
if: ${{ always() }} | |
with: | |
name: test-results | |
path: | | |
/Users/runner/work/alkaa/alkaa/app/build/reports/androidTests/ | |
./logcat.txt | |
retention-days: 7 |