File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 14
14
15
15
name : combine
16
16
17
+ permissions :
18
+ contents : read
19
+
17
20
on :
18
21
workflow_dispatch :
19
22
pull_request :
@@ -48,7 +51,7 @@ concurrency:
48
51
jobs :
49
52
xcodebuild :
50
53
# Don't run on private repo unless it is a PR.
51
- if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == ' pull_request'
54
+ if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || contains(fromJSON('[" pull_request", "workflow_dispatch"]'), github.event_name)
52
55
runs-on : macos-15
53
56
54
57
strategy :
74
77
75
78
storage-combine-integration :
76
79
# Don't run on private repo unless it is a PR.
77
- if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == ' pull_request'
80
+ if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || contains(fromJSON('[" pull_request", "workflow_dispatch"]'), github.event_name)
78
81
env :
79
82
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
80
83
runs-on : macos-15
Original file line number Diff line number Diff line change @@ -327,8 +327,7 @@ case "$product-$platform-$method" in
327
327
-workspace ' gen/FirebaseCombineSwift/FirebaseCombineSwift.xcworkspace' \
328
328
-scheme " FirebaseCombineSwift-Unit-unit" \
329
329
" ${xcb_flags[@]} " \
330
- build \
331
- test
330
+ build
332
331
;;
333
332
334
333
# TODO(#14760): s/build/test after addressing UI test flakes on CI.
@@ -606,8 +605,8 @@ case "$product-$platform-$method" in
606
605
RunXcodebuild \
607
606
-workspace ' gen/FirebaseCombineSwift/FirebaseCombineSwift.xcworkspace' \
608
607
-scheme " FirebaseCombineSwift-Unit-integration" \
609
- " ${ios_flags[@]} " \
610
- " ${xcb_flags[@]} " \
608
+ -sdk ' iphonesimulator ' \
609
+ -destination ' platform=iOS Simulator,name=iPhone 16,OS=18.3.1 ' \
611
610
test
612
611
fi
613
612
;;
You can’t perform that action at this time.
0 commit comments