Skip to content

Create zashi-tests.yml #3

Create zashi-tests.yml

Create zashi-tests.yml #3

Workflow file for this run

name: Zashi unit tests
on:
pull_request:
branches: [ "main" ]
jobs:
build:
permissions:
contents: read
runs-on: macos-13
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=15.0,name=iPhone 15 Pro']
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
timeout-minutes: 1
- name: Select Xcode version
run: sudo xcode-select -s '/Applications/Xcode_15.0.1.app/Contents/Developer'
- name: Run tests
timeout-minutes: 5
run: xcodebuild test -scheme secant-testnet -project secant.xcodeproj -destination "${destination}" | xcpretty && exit ${PIPESTATUS[0]}