Skip to content

Commit 5db87fa

Browse files
authored
ci: Add timeout to RN integration test and disable parallelization (#5977)
1 parent 18be519 commit 5db87fa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test-cross-platform.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
test-react-native:
3131
name: React Native Installation
3232
runs-on: macos-15
33+
# This job can take a while to run, so we set a timeout.
34+
timeout-minutes: 30
3335
steps:
3436
- uses: actions/checkout@v5
3537
with:
@@ -67,6 +69,10 @@ jobs:
6769
- name: Add Sentry/HybridSDK Dependency to RNSentryCocoaTester/Podfile
6870
run: sed -i '' -e "s/RNSentry.podspec'/RNSentry.podspec'\\n pod 'Sentry\/HybridSDK', :path => '..\/..\/..\/..\/sentry-cocoa'/" sentry-react-native/packages/core/RNSentryCocoaTester/Podfile
6971

72+
- name: Disable test parallelization
73+
working-directory: sentry-react-native/packages/core/RNSentryCocoaTester
74+
run: sed -i '' "s/parallelizable = \"YES\"/parallelizable = \"NO\"/" RNSentryCocoaTester.xcodeproj/xcshareddata/xcschemes/RNSentryCocoaTester.xcscheme
75+
7076
- name: Install App Pods
7177
working-directory: sentry-react-native/packages/core/RNSentryCocoaTester
7278
run: pod install

0 commit comments

Comments
 (0)