Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI emulator run #27

Merged
merged 6 commits into from
Feb 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Change emulator image to atd and remove gpu setting
  • Loading branch information
wmontwe committed Feb 19, 2023
commit 5064bf6aa65f0df5d3938a22c2bee780212e842e
11 changes: 7 additions & 4 deletions .github/workflows/ci-pull-request-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
java-version: '11'

- name: Setup Android SDK
uses: bitfunk/setup-android@v1.0.0
uses: android-actions/setup-android@v2

- name: Version
run: ./gradlew --no-daemon --stacktrace versionInfo
Expand All @@ -51,16 +51,19 @@ jobs:
run: ./gradlew --no-daemon --stacktrace build

- name: Run Android Device Tests
uses: bitfunk/[email protected]
uses: reactivecircus/android-emulator-runner@v2
env:
ANDROID_EMULATOR_WAIT_TIME_BEFORE_KILL: 120
with:
api-level: ${{ matrix.api-level }}
target: google_apis
target: google_atd
arch: x86_64
profile: Nexus 5
avd-name: blueprint-${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none
emulator-options: -no-snapshot -noaudio -no-boot-anim -camera-back none
disable-animations: true
disk-size: 2048M
script: ./gradlew --no-daemon --stacktrace connectedCheck

- name: Publish Test Report
Expand Down