Updated config.yml

This commit is contained in:
2023-06-27 14:32:34 +01:00
parent e86f57e372
commit 96e7d44e03

View File

@@ -64,20 +64,21 @@ jobs:
post-emulator-launch-assemble-command: ./gradlew assemble<< parameters.flavour >>DebugAndroidTest
test-command: ./gradlew connected<< parameters.flavour >>DebugAndroidTest
system-image: system-images;android-25;google_apis;x86
run-logcat: true
max-tries: 1
post-run-tests-steps:
- android/save-build-cache
pull-data: true
pull-data-path: storage
pull-data-target: "."
kill-emulators: false
- run:
name: Pull screenshots from device
command: |
mkdir ~/screenshots
adb pull /storage/emulated/0/Android/data/h_mal.appttude.com.driver.admin/files/screengrab/en-US/images/screenshots ~/screenshots
when: on_fail
# store test reports
- store_artifacts:
path: app/build/reports/androidTests/connected
destination: reports
# store screenshots for failed ui tests
- store_artifacts:
path: storage
path: screenshots
destination: screenshots
# Then publish the artifacts of the Firebase emulator logs!
- run: