File tree Expand file tree Collapse file tree 1 file changed +12
-17
lines changed Expand file tree Collapse file tree 1 file changed +12
-17
lines changed Original file line number Diff line number Diff line change 5
5
name : Tests
6
6
7
7
on :
8
+ push :
9
+ branches :
10
+ - main
8
11
pull_request :
9
12
10
13
jobs :
11
14
spm :
12
- name : Build & Test All
15
+ name : " Build & Test All - iOS ${{ matrix.sdk }} "
13
16
14
17
runs-on : macos-15-xlarge
15
18
@@ -60,20 +63,12 @@ jobs:
60
63
- name : Install Tuist dependencies for Demo
61
64
run : tuist install --path Demo
62
65
63
- - name : Test ListableTests
64
- run : tuist test --path Demo --os ${{ matrix.sdk }} ListableTests
66
+ - name : Test All
67
+ run : tuist test --path Demo --os ${{ matrix.sdk }} -resultBundlePath TestResult
65
68
66
- - name : Test BlueprintUIListsTests
67
- run : tuist test --path Demo --os ${{ matrix.sdk }} BlueprintUIListsTests
68
-
69
- - name : Test Snapshot-Unit-Tests
70
- run : tuist test --path Demo --os ${{ matrix.sdk }} Snapshot-Unit-Tests
71
-
72
- - name : Build & Test Snapshot Package (iOS Simulator)
73
- run : |
74
- cd "Internal/Snapshot"
75
- xcodebuild \
76
- -scheme Snapshot \
77
- -destination "platform=${{ env.TUIST_TEST_PLATFORM }} Simulator,OS=${{ matrix.sdk }},name=${{ env.TUIST_TEST_DEVICE }}" \
78
- -enableCodeCoverage YES \
79
- build test
69
+ - name : Upload TestResult
70
+ uses : actions/upload-artifact@v4
71
+ if : ${{ failure() }}
72
+ with :
73
+ name : TestResult.xcresult
74
+ path : TestResult.xcresult
You can’t perform that action at this time.
0 commit comments