Disable unneeded_override rule #48
Workflow file for this run
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: Check PR | |
on: | |
pull_request: | |
branches: ["main"] | |
jobs: | |
SwiftLint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: GitHub Action for SwiftLint | |
uses: norio-nomura/action-swiftlint@3.2.1 | |
with: | |
args: --strict | |
RunTests: | |
runs-on: macos-12 | |
defaults: | |
run: | |
shell: bash | |
working-directory: AriesFramework | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cache Pods | |
id: cache-pods | |
uses: actions/cache@v3 | |
with: | |
path: AriesFramework/Pods | |
key: ${{ runner.os }}-pods-${{ hashFiles('AriesFramework/Podfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-pods- | |
- name: Install Dependencies | |
if: steps.cache-pods.outputs.cache-hit != 'true' | |
run: pod install | |
- name: Build | |
run: xcodebuild build-for-testing CODE_SIGNING_ALLOWED=No -workspace AriesFramework.xcworkspace -scheme AriesFrameworkTests -sdk iphoneos -destination "platform=iOS Simulator,name=iPhone 14 Pro" | |
- name: Run tests | |
run: xcodebuild test-without-building CODE_SIGNING_ALLOWED=No -workspace AriesFramework.xcworkspace -scheme AriesFrameworkTests -sdk iphoneos -destination "platform=iOS Simulator,name=iPhone 14 Pro" -testPlan AriesFrameworkTests -retry-tests-on-failure | xcpretty && exit ${PIPESTATUS[0]} |