Skip to content

Commit

Permalink
ci: gha update e2e commands
Browse files Browse the repository at this point in the history
  • Loading branch information
oscb committed Dec 5, 2023
1 parent 9a1479a commit 18cd387
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ jobs:
# End workaround

- name: Bootstrap
run: yarn install && yarn example install && yarn example pods
run: yarn install && yarn e2e install && yarn e2e pods

- name: Bundle Build
run: yarn build

- name: Detox - Build
run: RCT_NO_LAUNCH_PACKAGER=1 yarn example build:ios
run: RCT_NO_LAUNCH_PACKAGER=1 yarn e2e build:ios

- name: Detox - Test
continue-on-error: true
run: yarn example e2e:ios
run: yarn e2e e2e:ios

run-e2e-android:
runs-on: 'macos-latest' # This is important, linux cannot run the emulator graphically for e2e tests
Expand Down Expand Up @@ -133,12 +133,13 @@ jobs:
# End workaround

- name: Bootstrap
run: yarn install && yarn example install # No need to run bootstrap here since we don't need cocoapods
run: yarn install && yarn e2e install # No need to run bootstrap here since we don't need cocoapods

- name: Bundle build
run: yarn build

- name: Detox - Build
run: RCT_NO_LAUNCH_PACKAGER=1 yarn example build:android
run: RCT_NO_LAUNCH_PACKAGER=1 yarn e2e build:android

- name: Detox - Test
continue-on-error: true
Expand All @@ -151,4 +152,4 @@ jobs:
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: yarn example e2e:android
script: yarn e2e e2e:android

0 comments on commit 18cd387

Please sign in to comment.