File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed
Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change 1717 - both
1818 - ios
1919 - android
20+ expo :
21+ description : Run E2E with Expo framework
22+ required : true
23+ default : false
24+ type : boolean
2025
2126jobs :
2227 e2e-ios :
@@ -77,10 +82,11 @@ jobs:
7782
7883 - name : Run iOS E2E
7984 run : |
80- npm run e2e -- \
81- --app "${{ inputs.app }}" \
82- --platform ios \
83- --simulator "${{ steps.boot-simulator.outputs.simulator }}"
85+ if [ "${{ inputs.expo }}" = "true" ]; then
86+ npm run e2e -- --app "${{ inputs.app }}" --platform ios --simulator "${{ steps.boot-simulator.outputs.simulator }}" --framework expo
87+ else
88+ npm run e2e -- --app "${{ inputs.app }}" --platform ios --simulator "${{ steps.boot-simulator.outputs.simulator }}"
89+ fi
8490
8591 e2e-android :
8692 if : ${{ inputs.platform == 'android' || inputs.platform == 'both' }}
@@ -131,4 +137,9 @@ jobs:
131137 arch : x86_64
132138 profile : pixel_7
133139 emulator-boot-timeout : 900
134- script : npm run e2e -- --app "${{ inputs.app }}" --platform android
140+ script : |
141+ if [ "${{ inputs.expo }}" = "true" ]; then
142+ npm run e2e -- --app "${{ inputs.app }}" --platform android --framework expo
143+ else
144+ npm run e2e -- --app "${{ inputs.app }}" --platform android
145+ fi
You can’t perform that action at this time.
0 commit comments