Skip to content

Commit 16a1d3d

Browse files
feat: Debug failing test in CI
1 parent 3868dd1 commit 16a1d3d

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/functional-test.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ jobs:
276276
run: |
277277
appium driver install uiautomator2
278278
appium driver install appium-flutter-integration-driver --source npm
279-
nohup appium --allow-insecure=adb_shell --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium_android.log &
279+
nohup appium --allow-insecure=adb_shell --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium_flutter_android.log &
280280
281281
- name: Run Android tests
282282
if: matrix.e2e-tests == 'flutter-android'
@@ -290,12 +290,19 @@ jobs:
290290
pipenv lock --clear
291291
pipenv install -d --system
292292
export PLATFORM=android
293-
pytest test/functional/flutter_integration/*_test.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
293+
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
294294
target: google_apis
295295
profile: Nexus 5X
296296
disable-spellchecker: true
297297
disable-animations: true
298298

299+
- name: Save server output
300+
if: always() && matrix.e2e-tests == 'android'
301+
uses: actions/upload-artifact@master
302+
with:
303+
name: appium-flutter-android.log
304+
path: appium_flutter_android.log
305+
299306
- name: Select Xcode
300307
if: matrix.e2e-tests == 'flutter-ios'
301308
uses: maxim-lobanov/setup-xcode@v1

0 commit comments

Comments
 (0)