Skip to content

chore: release v5.6.0 #171

chore: release v5.6.0

chore: release v5.6.0 #171

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