-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (28 loc) · 851 Bytes
/
test-execution.yml
File metadata and controls
30 lines (28 loc) · 851 Bytes
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
name: Execute Tests
on:
workflow_call:
inputs:
ref:
required: true
type: string
jobs:
run_tests:
runs-on: macos-15
steps:
- name: Set Xcode 16.2.0
run: sudo xcode-select -s /Applications/Xcode_16.2.0.app/Contents/Developer
- name: Print Current Xcode
run: xcode-select -p
- uses: actions/checkout@v3
with:
ref: ${{ inputs.ref }}
- name: Build adamant-cli
run: make configure
- name: Setup project dependencies
run: ./scripts/AdamantCLI/adamant-cli setup
- name: Pod Install
run: pod install
- name: Generate mocks for tests
run: ./scripts/AdamantCLI/adamant-cli mocks
- name: Run tests
run: xcodebuild test -workspace Adamant.xcworkspace -scheme Adamant.Dev -destination 'platform=iOS Simulator,name=iPhone 16' | xcbeautify