Disable swiftformat wrap and redundantInit rules to fix spec update timeout #239
Workflow file for this run
This file contains hidden or 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: CI | |
| on: [pull_request, workflow_dispatch] | |
| jobs: | |
| test: | |
| name: Run Unit Tests | |
| runs-on: macos-15 | |
| timeout-minutes: 45 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Pod Install | |
| run: | | |
| cd TestSwiftyDropbox | |
| pod install --repo-update | |
| - name: Test iOS | |
| env: | |
| platform: 'iOS Simulator' | |
| device: 'iPhone 16' | |
| run: | | |
| xcodebuild -workspace TestSwiftyDropbox/TestSwiftyDropbox.xcworkspace/ -scheme TestSwiftyDropbox_iOS -sdk iphonesimulator \ | |
| -destination "platform=$platform,name=$device" \ | |
| build-for-testing | |
| - name: Test macOS | |
| env: | |
| platform: macOS | |
| run: | | |
| xcodebuild -workspace TestSwiftyDropbox/TestSwiftyDropbox.xcworkspace/ -scheme TestSwiftyDropbox_macOS \ | |
| -destination "platform=$platform,arch=x86_64" \ | |
| build-for-testing |