Skip to content

Delete mediation record if it's not ready #45

Delete mediation record if it's not ready

Delete mediation record if it's not ready #45

Workflow file for this run

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]}