Skip to content

feat: Add support for visionOS #158

feat: Add support for visionOS

feat: Add support for visionOS #158

name: Integration tests
on:
push:
branches:
- main
pull_request:
types: [ opened, synchronize, edited ]
branches:
- main
jobs:
integration-tests:
runs-on: macos-13
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=16.2,name=iPhone 14']
steps:
- name: Git - Checkout
uses: actions/checkout@v2
- name: Setup - Xcode
run: sudo xcode-select -s /Applications/Xcode_14.2.app
- name: Setup - Ruby and bundler dependencies
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Setup carthage dependencies
run: ./scripts/bootstrap
- name: Run Integration Tests
run: |
echo "${INTEGRATION_TESTING_CONFIG}" > IntegrationTests/Resources/Configuration.json
set -o pipefail && xcodebuild -workspace BoxSDK.xcworkspace -scheme BoxSDKIntegrationTests-iOS -destination "${{ matrix.destination }}" -configuration Debug ENABLE_TESTABILITY=YES test
env:
INTEGRATION_TESTING_CONFIG: ${{secrets.INTEGRATION_TESTING_CONFIG}}