-
Notifications
You must be signed in to change notification settings - Fork 18
65 lines (57 loc) · 1.81 KB
/
test_ut_push_manager.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Build and Test Push notification manager UT
on:
push:
branches:
- master
pull_request:
branches:
- master
- development
jobs:
build:
runs-on: [macos-14]
steps:
- name: Select Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 15.4.0
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Build iOS and Test Push notification manager
uses: sersoft-gmbh/xcodebuild-action@v3
with:
action: build test
build-settings: ONLY_ACTIVE_ARCH=NO TEST_AFTER_BUILD=YES
configuration: Debug
derived-data-path: "${{github.workspace}}/SplitApp"
destination: 'platform=iOS Simulator,OS=17.2,name=iPhone 15'
project: Split.xcodeproj
scheme: Split
sdk: 'iphonesimulator'
test-plan: 'SplitPushManagerUT'
use-xcpretty: true
# - name: Install java 11
# uses: actions/setup-java@v3
# with:
# distribution: 'oracle'
# java-version: '17'
# - name: SonarQube Install
# uses: mathrix-education/sonar-scanner@master
# env:
# ACTIONS_ALLOW_UNSECURE_COMMANDS: true
# with:
# version: 4.8.0.2856
# scan: false
# - name: SonarQube Scan
# run: >
# sonar-scanner --debug
# -Dsonar.login=${{ secrets.SONARQUBE_TOKEN }}
# -Dsonar.host.url=${{ secrets.SONARQUBE_HOST }}
# -Dsonar.projectName=${{ github.event.repository.name }}
# -Dsonar.projectKey=splitio_ios-client
# -Dsonar.github.token=${{ secrets.GITHUB_TOKEN }}
# -Dsonar.c.file.suffixes=-
# -Dsonar.cpp.file.suffixes=-
# -Dsonar.objc.file.suffixes=-