Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Nov 2, 2023
1 parent c11d633 commit 8e676e7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ jobs:
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
- name: Setup Bundler
run: scripts/setup_bundler.sh
- name: Integration Test Server
run: FirebaseFunctions/Backend/start.sh synchronous
# The integration tests are flaky on Xcode 15 so only run the unit tests. The integration tests still run with SPM.
# - name: Integration Test Server
# run: FirebaseFunctions/Backend/start.sh synchronous
- name: Build and test
run: |
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseFunctions.podspec --platforms=${{ matrix.target }}
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseFunctions.podspec --test-specs=unit --platforms=${{ matrix.target }}
spm-integration:
# Don't run on private repo unless it is a PR.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
- name: Initialize xcodebuild
run: scripts/setup_spm_tests.sh
- name: Unit Tests
run: scripts/third_party/travis/retry.sh ./scripts/build.sh PerformanceUnit ${{ matrix.target }} spm --platforms=${{ matrix.target }}
run: scripts/third_party/travis/retry.sh ./scripts/build.sh PerformanceUnit ${{ matrix.target }} spm

catalyst:
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/spm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ jobs:
include:
- os: macos-12
xcode: Xcode_14.2
test: spm
# The integration tests are slow and flaky on Xcode 15, so just build.
- os: macos-13
xcode: Xcode_15.0.1
test: spmbuildonly
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -46,7 +49,7 @@ jobs:
- name: Functions Integration Test Server
run: FirebaseFunctions/Backend/start.sh synchronous
- name: iOS Unit Tests
run: scripts/third_party/travis/retry.sh ./scripts/build.sh Firebase-Package iOS spm
run: scripts/third_party/travis/retry.sh ./scripts/build.sh Firebase-Package iOS ${{ matrix.test }}

# Test iOS Device build since some Firestore dependencies build different files.
iOS-Device:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ @interface FIRIAMMessageContentDataWithImageURL ()

@implementation FIRIAMMessageContentDataWithImageURL
- (instancetype)initWithMessageTitle:(nullable NSString *)title
messageBody:(NSString *)body
messageBody:(nullable NSString *)body
actionButtonText:(nullable NSString *)actionButtonText
secondaryActionButtonText:(nullable NSString *)secondaryActionButtonText
actionURL:(nullable NSURL *)actionURL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ NS_ASSUME_NONNULL_BEGIN
* it's easier for doing mocking with unit testing.
*/
- (instancetype)initWithMessageTitle:(nullable NSString *)title
messageBody:(NSString *)body
messageBody:(nullable NSString *)body
actionButtonText:(nullable NSString *)actionButtonText
secondaryActionButtonText:(nullable NSString *)secondaryActionButtonText
actionURL:(nullable NSURL *)actionURL
Expand Down

0 comments on commit 8e676e7

Please sign in to comment.