Skip to content

Commit ecc7bc4

Browse files
feat: update workflows and fix unity tests
1 parent fe5eb36 commit ecc7bc4

File tree

2 files changed

+3
-24
lines changed

2 files changed

+3
-24
lines changed

.github/workflows/functional-test.yml

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -236,28 +236,6 @@ 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."
260-
261239
- name: Set up Python 3.12
262240
uses: actions/setup-python@v3
263241
with:
@@ -289,7 +267,7 @@ jobs:
289267
pipenv lock --clear
290268
pipenv install -d --system
291269
export PLATFORM=android
292-
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
270+
pytest test/functional/flutter_integration/*_test.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
293271
target: default
294272
disable-spellchecker: true
295273
disable-animations: true
@@ -309,6 +287,7 @@ jobs:
309287
- run: defaults write com.apple.iphonesimulator PasteboardAutomaticSync -bool false
310288

311289
- uses: futureware-tech/simulator-action@v3
290+
if: matrix.e2e-tests == 'flutter-ios'
312291
with:
313292
# https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md
314293
model: ${{ env.IPHONE_MODEL }}

test/functional/flutter_integration/helper/desired_capabilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def get_desired_capabilities(platform_name: str) -> Dict[str, Any]:
2727
'uiautomator2ServerInstallTimeout': 120000,
2828
'adbExecTimeout': 120000,
2929
'app': os.getenv('FLUTTER_ANDROID_APP'),
30-
'autoGrantPermissions': True
30+
'autoGrantPermissions': True,
3131
}
3232
)
3333
else:

0 commit comments

Comments
 (0)