1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-22 11:02:35 +01:00

Merge pull request #6562 from TeamNewPipe/disable_instrumented_ci

Comment out test-android CI job
This commit is contained in:
bopol 2021-06-24 08:55:12 +02:00 committed by GitHub
commit 63cad7ebb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,32 +43,37 @@ jobs:
with: with:
name: app name: app
path: app/build/outputs/apk/debug/*.apk path: app/build/outputs/apk/debug/*.apk
test-android:
runs-on: macos-latest
strategy:
matrix:
api-level: [21, 29]
steps:
- uses: actions/checkout@v2
- name: set up JDK 8 # Disabled until emulator works again. see https://github.com/TeamNewPipe/NewPipe/pull/6560
uses: actions/setup-java@v2 # test-android:
with: # macos has hardware acceleration. See android-emulator-runner action
java-version: 8 # runs-on: macos-latest
distribution: "adopt" # strategy:
# matrix:
# api-level 19 is min sdk, but throws errors related to desugaring
# api-level: [21, 29]
# steps:
# - uses: actions/checkout@v2
#
# - name: set up JDK 8
# uses: actions/setup-java@v2
# with:
# java-version: 8
# distribution: "adopt"
#
# - name: Cache Gradle dependencies
# uses: actions/cache@v2
# with:
# path: ~/.gradle/caches
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
# restore-keys: ${{ runner.os }}-gradle
#
# - name: Run android tests
# uses: reactivecircus/android-emulator-runner@v2
# with:
# api-level: ${{ matrix.api-level }}
# script: ./gradlew connectedCheck
- name: Cache Gradle dependencies
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Run android tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
script: ./gradlew connectedCheck
# sonar: # sonar:
# runs-on: ubuntu-latest # runs-on: ubuntu-latest
# steps: # steps: