-
Notifications
You must be signed in to change notification settings - Fork 49
38 lines (33 loc) · 942 Bytes
/
ios.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
35
36
37
38
name: ios
env:
CI: true
on:
push:
branches: [ master ]
pull_request:
branches: [ develop, master ]
jobs:
build-test:
if: github.event.pull_request.draft == false
runs-on: [ self-hosted, macOS, ARM64 ]
strategy:
matrix:
ios: [ 17.4 ]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Prepare Environment
uses: ./.github/actions/prepare-env
with:
cocoapods: 'true'
- name: Run tests
working-directory: ios
run: |
xcodebuild -quiet -workspace Xaman.xcworkspace -scheme Xaman -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15,OS=${{ matrix.ios }}' -resultBundlePath TestResults test
- name: Test Summary
uses: kishikawakatsumi/xcresulttool@v1
with:
path: ios/TestResults.xcresult
if: success() || failure()