From eb41f190c7ec91a3a43f8b22cfd9cbed92e6f2b0 Mon Sep 17 00:00:00 2001 From: Oscar Bazaldua <511911+oscb@users.noreply.github.com> Date: Wed, 29 Nov 2023 17:39:26 -0800 Subject: [PATCH] ci: detox tweaks --- .github/workflows/ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d26a20b9..8dc26a5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 &