Skip to content

Commit 2f8664c

Browse files
authored
Enable events to be generated for Autopush and Staging environments. (#10676)
1 parent 077091a commit 2f8664c

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/sessions-integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ concurrency:
2020

2121
jobs:
2222

23-
# Public repository: Build and run the Integration Tests for the Firebase sessions E2E Test App.
23+
# Public repository: Build and run the Integration Tests for the Firebase sessions E2E Test App across all environments.
2424
sessions-integration-tests:
2525
if: github.repository == 'Firebase/firebase-ios-sdk'
2626
env:

scripts/build.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,9 +527,29 @@ case "$product-$platform-$method" in
527527
pod_gen FirebaseSessions.podspec --platforms=ios --clean
528528
cd FirebaseSessions/Tests/TestApp; pod install; cd -
529529

530+
# Run E2E Integration Tests for Prod.
531+
RunXcodebuild \
532+
-workspace 'FirebaseSessions/Tests/TestApp/AppQualityDevApp.xcworkspace' \
533+
-scheme "AppQualityDevApp_iOS" \
534+
"${ios_flags[@]}" \
535+
"${xcb_flags[@]}" \
536+
build \
537+
test
538+
539+
# Run E2E Integration Tests for Staging.
540+
RunXcodebuild \
541+
-workspace 'FirebaseSessions/Tests/TestApp/AppQualityDevApp.xcworkspace' \
542+
-scheme "AppQualityDevApp_iOS" \
543+
FirebaseSessionsRunEnvironment=STAGING \
544+
"${ios_flags[@]}" \
545+
"${xcb_flags[@]}" \
546+
build \
547+
test
548+
530549
# Run E2E Integration Tests for Autopush.
531550
RunXcodebuild \
532551
-workspace 'FirebaseSessions/Tests/TestApp/AppQualityDevApp.xcworkspace' \
552+
FirebaseSessionsRunEnvironment=AUTOPUSH \
533553
-scheme "AppQualityDevApp_iOS" \
534554
"${ios_flags[@]}" \
535555
"${xcb_flags[@]}" \

0 commit comments

Comments
 (0)