Skip to content

Commit 4676947

Browse files
committed
[test] upload screenshots as artifacts
1 parent f72b684 commit 4676947

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,18 @@ jobs:
5757
xcrun simctl launch "${UDID}" com.jscexample
5858
5959
- name: Run iOS tests
60-
run: export MAESTRO_DRIVER_STARTUP_TIMEOUT=190000; npm run test:e2e
60+
run: |
61+
export MAESTRO_DRIVER_STARTUP_TIMEOUT=190000
62+
export MAESTRO_WAIT_TIMEOUT=10000
63+
npm run test:e2e
64+
65+
- name: Upload Maestro screenshots
66+
uses: actions/upload-artifact@v3
67+
if: always()
68+
with:
69+
name: ios-maestro-screenshots
70+
path: /Users/runner/.maestro/tests/
71+
retention-days: 5
6172

6273
android-build:
6374
name: Android Build

0 commit comments

Comments
 (0)