Skip to content

Commit

Permalink
remove emulator cache
Browse files Browse the repository at this point in the history
  • Loading branch information
skhugh committed Jan 16, 2024
1 parent d3b055c commit 6bb1854
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
strategy:
fail-fast: false
matrix:
api-level: [ 23, 31 ]
api-level: [ 23, 26, 30 ]
target: [ google_apis ]
runs-on: macos-latest
timeout-minutes: 60
Expand All @@ -66,25 +66,6 @@ jobs:
- run: |
docker system prune --all --force
docker-compose -f docker/docker-compose-ci.yml up --build -d
- uses: actions/cache@v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-${{ matrix.api-level }}-${{ matrix.target }}-x86_64-4096m
- if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
target: ${{ matrix.target }}
arch: x86_64
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
ram-size: 4096M
emulator-boot-timeout: 12000
disable-animations: false
script: echo "Generated AVD snapshot for caching."
- uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
Expand All @@ -98,9 +79,9 @@ jobs:
script: |
./gradlew yorkie:connectedCheck -Pandroid.testInstrumentationRunnerArguments.notAnnotation=androidx.test.filters.LargeTest --no-build-cache --no-daemon --stacktrace
./gradlew yorkie:connectedCheck -Pandroid.testInstrumentationRunnerArguments.annotation=androidx.test.filters.LargeTest --no-build-cache --no-daemon --stacktrace
- if: ${{ matrix.api-level == 23 }}
- if: ${{ matrix.api-level == 30 }}
run: ./gradlew yorkie:jacocoDebugTestReport
- if: ${{ matrix.api-level == 23 }}
- if: ${{ matrix.api-level == 30 }}
uses: actions/upload-artifact@v3
with:
name: android-test-artifact
Expand Down

0 comments on commit 6bb1854

Please sign in to comment.