Skip to content

Commit 2cb710d

Browse files
committed
ci: Opt the bundle mode core suite into Bundle Mode CI runs
1 parent 975c0f1 commit 2cb710d

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/runtime-tests-android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,5 @@ jobs:
8080
set -e
8181
node scripts/runtime-tests-server.js --launch --platform android --library self-tests --skip-build --connect-timeout 900 --idle-timeout 900 || node scripts/runtime-tests-server.js --launch --platform android --library self-tests --skip-build --connect-timeout 900 --idle-timeout 900
8282
if node scripts/runtime-tests-server.js --launch --platform android --library self-tests --skip-build --connect-timeout 900 --idle-timeout 900 --only "intentional failures"; then echo "A failing suite did not fail the runner" && exit 1; fi
83-
node scripts/runtime-tests-server.js --launch --platform android --library worklets --skip-build --connect-timeout 900 --idle-timeout 900 || node scripts/runtime-tests-server.js --launch --platform android --library worklets --skip-build --connect-timeout 900 --idle-timeout 900
83+
node scripts/runtime-tests-server.js --launch --platform android --library worklets --skip-build --connect-timeout 900 --idle-timeout 900 ${{ inputs.bundleMode && '--include "bundle mode core"' || '' }} || node scripts/runtime-tests-server.js --launch --platform android --library worklets --skip-build --connect-timeout 900 --idle-timeout 900 ${{ inputs.bundleMode && '--include "bundle mode core"' || '' }}
8484
node scripts/runtime-tests-server.js --launch --platform android --library reanimated --skip-build --connect-timeout 900 --idle-timeout 900 || node scripts/runtime-tests-server.js --launch --platform android --library reanimated --skip-build --connect-timeout 900 --idle-timeout 900

.github/workflows/runtime-tests-ios.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,10 @@ jobs:
101101
run: >-
102102
node scripts/runtime-tests-server.js --launch --library worklets
103103
--configuration "$CONFIGURATION" --skip-build --connect-timeout 900 --idle-timeout 900
104+
${{ inputs.bundleMode && '--include "bundle mode core"' || '' }}
104105
|| node scripts/runtime-tests-server.js --launch --library worklets
105106
--configuration "$CONFIGURATION" --skip-build --connect-timeout 900 --idle-timeout 900
107+
${{ inputs.bundleMode && '--include "bundle mode core"' || '' }}
106108
107109
- name: Run Reanimated runtime tests (reuses the build, retries once)
108110
working-directory: ${{ env.WORKING_DIRECTORY }}

0 commit comments

Comments
 (0)