Skip to content

Audio beacon settings #124

Audio beacon settings

Audio beacon settings #124

Workflow file for this run

name: ios-tests
on:
push:
branches:
- main
paths:
- 'apps/ios/**'
- '.github/workflows/ios-tests.yml'
pull_request:
branches:
- main
paths:
- 'apps/ios/**'
jobs:
unit-tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: setup
run: |
# Find path of latest installed Xcode version
xcode_path="$(ls -d /Applications/Xcode*.app | grep -v -E 'Release_Candidate|Beta' | sort -V | tail -n1)"
echo "Xcode path: ${xcode_path}"
sudo xcode-select -s "${xcode_path}/Contents/Developer"
xcodebuild -version
gem install xcpretty
- name: Build
run: >
xcodebuild build-for-testing -workspace apps/ios/GuideDogs.xcworkspace
-scheme Soundscape -destination 'platform=iOS Simulator,name=iPhone 15'
CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
| tee xcodebuild.log | xcpretty && exit ${PIPESTATUS[0]}
- name: uploadlog
uses: actions/upload-artifact@v4
with:
name: xcodebuild-log
path: xcodebuild.log
- name: Test
run: >
xcodebuild test-without-building -workspace apps/ios/GuideDogs.xcworkspace
-scheme Soundscape -destination 'platform=iOS Simulator,name=iPhone 15'