Skip to content

Commit

Permalink
ci: detox tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
oscb committed Nov 30, 2023
1 parent d4da6f2 commit eb41f19
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,14 @@ jobs:
run: yarn build

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

# Important to do this after build, as a build will kill any running metro server
- name: Run Server (with mocks)
run: yarn example start:e2e &

- name: Detox - Test
run: |
yarn example detox clean-framework-cache
yarn example detox build-framework-cache
yarn example test:ios
run: yarn example test:ios

run-e2e-android:
needs: cancel_previous
Expand Down Expand Up @@ -147,7 +144,7 @@ jobs:
run: yarn build

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

- name: Run Server (with mocks)
run: yarn example start:e2e &
Expand Down

0 comments on commit eb41f19

Please sign in to comment.