-
Notifications
You must be signed in to change notification settings - Fork 113
35 lines (32 loc) · 1.08 KB
/
integration-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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}}