Update dependency firebase/firebase-ios-sdk to from: "10.26.0" #336
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: macos-14 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache Swift Packages | |
uses: actions/cache@v4 | |
id: cache-swiftpm | |
with: | |
path: .swiftpm | |
key: ${{ runner.os }}-swiftpm-${{ hashFiles('WebSocketClient.xcworkspace/xcshareddata/swiftpm/Package.resolved') }} | |
- name: Write IDESkipPackagePluginFingerprintValidatation | |
run: defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES | |
- name: Write IDESkipMacroFingerprintValidation | |
run: defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES | |
- name: Make test-result folder | |
run: mkdir -p test-results | |
- name: Xcode test | |
run: | | |
set -o pipefail && \ | |
xcodebuild test \ | |
-scheme WebSocketClientPackageTests \ | |
-workspace WebSocketClient.xcworkspace \ | |
-parallel-testing-enabled=YES \ | |
-destination "platform=iOS Simulator,name=iPhone 15 Pro" \ | |
-resultBundlePath "Test-WebSocketClientPackageTests.xcresult" \ | |
-clonedSourcePackagesDirPath .swiftpm \ | |
-disableAutomaticPackageResolution | xcpretty | |
- uses: kishikawakatsumi/xcresulttool@v1 | |
if: success() || failure() | |
with: | |
path: Test-WebSocketClientPackageTests.xcresult |