Skip to content

Commit

Permalink
Disable tests for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ShareASmile committed Jul 14, 2024
1 parent 277e7f0 commit 3eab6dd
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,39 +59,39 @@ jobs:
name: app
path: app/build/outputs/apk/debug/*.apk

test-android:
# macos has hardware acceleration. See android-emulator-runner action
runs-on: macos-latest
timeout-minutes: 20
strategy:
matrix:
# api-level 16 is min sdk, but throws errors related to desugaring
api-level: [ 21, 29 ]
steps:
- uses: actions/checkout@v3

- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: "temurin"
cache: 'gradle'

- name: Run android tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
# workaround to emulator bug: https://github.com/ReactiveCircus/android-emulator-runner/issues/160
emulator-build: 7425822
script: ./gradlew connectedCheck

# test-android:
# # macos has hardware acceleration. See android-emulator-runner action
# runs-on: macos-latest
# timeout-minutes: 20
# strategy:
# matrix:
# # api-level 16 is min sdk, but throws errors related to desugaring
# api-level: [ 21, 29 ]
# steps:
# - uses: actions/checkout@v3
#
# - name: set up JDK 11
# uses: actions/setup-java@v3
# with:
# java-version: 11
# distribution: "temurin"
# cache: 'gradle'
#
# - name: Run android tests
# uses: reactivecircus/android-emulator-runner@v2
# with:
# api-level: ${{ matrix.api-level }}
# # workaround to emulator bug: https://github.com/ReactiveCircus/android-emulator-runner/issues/160
# emulator-build: 7425822
# script: ./gradlew connectedCheck
#
# sonar:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@#3
# with:
# fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

#
# - name: Set up JDK 11
# uses: actions/setup-java@#3
# with:
Expand All @@ -104,14 +104,14 @@ jobs:
# path: ~/.sonar/cache
# key: ${{ runner.os }}-sonar
# restore-keys: ${{ runner.os }}-sonar

#
# - name: Cache Gradle packages
# uses: actions/cache@#3
# with:
# path: ~/.gradle/caches
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
# restore-keys: ${{ runner.os }}-gradle

#
# - name: Build and analyze
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
Expand Down

0 comments on commit 3eab6dd

Please sign in to comment.