Skip to content

chore(deps): update actions/checkout digest to 692973e #114

chore(deps): update actions/checkout digest to 692973e

chore(deps): update actions/checkout digest to 692973e #114

Workflow file for this run

name: Test PR
on:
pull_request:
branches:
- master
jobs:
test:
name: Build and Test
# See available software: https://github.com/actions/virtual-environments/blob/main/images/macos/macos-12-Readme.md
runs-on: macos-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
# - name: Prepare Xcode
# run: |
# sudo xcode-select --switch /Applications/Xcode_13.4.1.app
# xcodebuild -version
# swift --version
# xcrun simctl list devices 15.4
- name: Boot simulator
run: xcrun simctl boot "iPhone 15 Pro"
- name: Run Internal tests
run: xcodebuild clean build test -workspace Scenarios.xcworkspace -scheme "Sample-Internal" -destination "platform=iOS Simulator,name=iPhone 15 Pro,OS=latest" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
- name: Run Production tests
run: xcodebuild clean build test -workspace Scenarios.xcworkspace -scheme "Sample-Production" -destination "platform=iOS Simulator,name=iPhone 15 Pro,OS=latest" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
- name: Run Internal (SwiftUI) tests
run: xcodebuild clean build test -workspace Scenarios.xcworkspace -scheme "Sample-Internal" -destination "platform=iOS Simulator,name=iPhone 15 Pro,OS=latest" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
- name: Run Production (SwiftUI) tests
run: xcodebuild clean build test -workspace Scenarios.xcworkspace -scheme "Sample-Production" -destination "platform=iOS Simulator,name=iPhone 15 Pro,OS=latest" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO