-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (37 loc) · 1.1 KB
/
developCleanTest.yml
File metadata and controls
48 lines (37 loc) · 1.1 KB
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
name: developCleanTest
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
cleanTest:
runs-on: macOS-latest
strategy:
matrix:
destination: ["platform=iOS Simulator,name=iPhone 8,OS=14.0.1"]
env:
PROJECT: App/App.xcodeproj
SCHEME: App
CONFIGURATION: Debug
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install xcpretty
run: sudo gem install xcpretty
- name: Cache Node Modules
uses: actions/cache@v3
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- name: Xcodebuild Clean Test
run: xcodebuild test
-project ${{ env.PROJECT }}
-scheme ${{ env.SCHEME }}
-destination ${{ matrix.destination }}
-configuration ${{ env.CONFIGURATION }}
-enableCodeCoverage YES
-showBuildTimingSummary
-disableAutomaticPackageResolution | xcpretty --color --test