Skip to content

Update dependency realm/SwiftLint to from: "0.55.1" #335

Update dependency realm/SwiftLint to from: "0.55.1"

Update dependency realm/SwiftLint to from: "0.55.1" #335

Workflow file for this run

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