Skip to content

Commit

Permalink
ci: fix test failure on API 26
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishb committed Jul 21, 2024
1 parent aacfd07 commit 3610a02
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/adbe-unittests-api26.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,23 @@ jobs:

- name: Run tests
uses: reactivecircus/android-emulator-runner@v2
env:
# Ref: https://github.com/ReactiveCircus/android-emulator-runner/issues/385
ANDROID_EMULATOR_WAIT_TIME_BEFORE_KILL: 60
with:
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -no-metrics -camera-back none
disable-animations: true
target: ${{ matrix.target }}
script: |
python3 -m pip install --upgrade pip
python3 -m pip install --user -r requirements.txt
make test_python3
# Ref: https://github.com/ReactiveCircus/android-emulator-runner/issues/385
- name: Kill crashpad_handler processes
run: |
pkill -SIGTERM crashpad_handler || true
sleep 5
pkill -SIGKILL crashpad_handler || true

0 comments on commit 3610a02

Please sign in to comment.