Skip to content

Commit 8cd8655

Browse files
feat: change andrpid emulator settings
1 parent 0c3829a commit 8cd8655

File tree

1 file changed

+23
-25
lines changed

1 file changed

+23
-25
lines changed

.github/workflows/functional-test.yml

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ jobs:
210210
runs-on: ${{ matrix.platform }}
211211

212212
env:
213-
API_LEVEL: 29
213+
API_LEVEL: 28
214214
ARCH: x86
215215
CI: true
216216
XCODE_VERSION: 15.4
@@ -236,27 +236,27 @@ jobs:
236236
sudo udevadm control --reload-rules
237237
sudo udevadm trigger --name-match=kvm
238238
239-
- name: AVD cache
240-
if: matrix.e2e-tests == 'flutter-android'
241-
uses: actions/cache@v3
242-
id: avd-cache
243-
with:
244-
path: |
245-
~/.android/avd/*
246-
~/.android/adb*
247-
key: avd-${{ env.API_LEVEL }}
248-
249-
- name: Create AVD and generate snapshot for caching
250-
if: matrix.e2e-tests == 'flutter-android'
251-
uses: reactivecircus/android-emulator-runner@v2
252-
with:
253-
api-level: ${{ env.API_LEVEL }}
254-
arch: ${{ env.ARCH }}
255-
target: google_apis
256-
force-avd-creation: false
257-
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
258-
disable-animations: false
259-
script: echo "Generated AVD snapshot for caching."
239+
# - name: AVD cache
240+
# if: matrix.e2e-tests == 'flutter-android'
241+
# uses: actions/cache@v3
242+
# id: avd-cache
243+
# with:
244+
# path: |
245+
# ~/.android/avd/*
246+
# ~/.android/adb*
247+
# key: avd-${{ env.API_LEVEL }}
248+
249+
# - name: Create AVD and generate snapshot for caching
250+
# if: matrix.e2e-tests == 'flutter-android'
251+
# uses: reactivecircus/android-emulator-runner@v2
252+
# with:
253+
# api-level: ${{ env.API_LEVEL }}
254+
# arch: ${{ env.ARCH }}
255+
# target: google_apis
256+
# force-avd-creation: false
257+
# emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
258+
# disable-animations: false
259+
# script: echo "Generated AVD snapshot for caching."
260260

261261
- name: Set up Python 3.12
262262
uses: actions/setup-python@v3
@@ -283,16 +283,14 @@ jobs:
283283
uses: reactivecircus/android-emulator-runner@v2
284284
with:
285285
api-level: ${{ env.API_LEVEL }}
286-
arch: ${{ env.ARCH }}
287286
script: |
288287
pip install --upgrade pip
289288
pip install --upgrade pipenv
290289
pipenv lock --clear
291290
pipenv install -d --system
292291
export PLATFORM=android
293292
pytest test/functional/flutter_integration/*_test.py -k test_camera_mocking --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
294-
target: google_apis
295-
profile: Nexus 5X
293+
target: default
296294
disable-spellchecker: true
297295
disable-animations: true
298296

0 commit comments

Comments
 (0)