Skip to content

Commit e9369c6

Browse files
committed
Update pre-release-qa.yml
1 parent 73323e7 commit e9369c6

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/pre-release-qa.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ jobs:
1919
pod install
2020
xcodebuild test -scheme iOSReleaseTest -workspace iOSReleaseTest.xcworkspace
2121
-destination "$DESTINATION" -resultBundlePath ../../test-results/ios-cocoapods.xcresult
22+
- name: Upload test report
23+
uses: actions/upload-artifact@v4
24+
if: always()
25+
with:
26+
name: test-report-cocoapods-iOS
27+
path: test-results/ios-cocoapods.xcresult
2228
verify-carthage-iOS:
2329
runs-on: macos-latest
2430
timeout-minutes: 20
@@ -37,6 +43,12 @@ jobs:
3743
echo "git \"file://${CURR_DIR}\" \"$BRANCH_NAME\" " >> cartfile
3844
carthage update --use-xcframeworks
3945
xcodebuild test -scheme iOSReleaseTest -project iOSReleaseTest.xcodeproj -destination "$DESTINATION" -resultBundlePath ../../test-results/ios-carthage.xcresult
46+
- name: Upload test report
47+
uses: actions/upload-artifact@v4
48+
if: always()
49+
with:
50+
name: test-report-carthage-iOS
51+
path: test-results/ios-carthage.xcresult
4052
verify-SPM-iOS:
4153
runs-on: macos-latest
4254
timeout-minutes: 20
@@ -50,6 +62,12 @@ jobs:
5062
DESTINATION="platform=iOS Simulator,name=$(cat ./iphoneSim),OS=latest"
5163
cd SDKIntegrationTestApps/iOSReleaseTest-SPM/
5264
xcodebuild test -scheme iOSReleaseTest -project iOSReleaseTest.xcodeproj -destination "$DESTINATION" -resultBundlePath ../../test-results/ios-spm.xcresult
65+
- name: Upload test report
66+
uses: actions/upload-artifact@v4
67+
if: always()
68+
with:
69+
name: test-report-spm-iOS
70+
path: test-results/ios-spm.xcresult
5371
verify-manually-with-xcframework-iOS:
5472
runs-on: macos-latest
5573
timeout-minutes: 20
@@ -64,6 +82,12 @@ jobs:
6482
xcodebuild -scheme xcframework
6583
cd SDKIntegrationTestApps/iOSReleaseTest-Manual/
6684
xcodebuild test -scheme iOSReleaseTest -project iOSReleaseTest.xcodeproj -destination "$DESTINATION" -resultBundlePath ../../test-results/ios-xcframework.xcresult
85+
- name: Upload test report
86+
uses: actions/upload-artifact@v4
87+
if: always()
88+
with:
89+
name: test-report-manual-xcframework-iOS
90+
path: test-results/ios-xcframework.xcresult
6791
verify-manually-with-StaticFramework-iOS:
6892
runs-on: macos-latest
6993
timeout-minutes: 20
@@ -78,6 +102,12 @@ jobs:
78102
xcodebuild -scheme static-xcframework
79103
cd SDKIntegrationTestApps/iOSReleaseTest-Manual-Static/
80104
xcodebuild test -scheme iOSReleaseTest -project iOSReleaseTest.xcodeproj -destination "$DESTINATION" -resultBundlePath ../../test-results/ios-static-framework.xcresult
105+
- name: Upload test report
106+
uses: actions/upload-artifact@v4
107+
if: always()
108+
with:
109+
name: test-report-manual-static-iOS
110+
path: test-results/ios-static-framework.xcresult
81111
verify-cocoapods-tvOS:
82112
runs-on: macos-latest
83113
timeout-minutes: 20
@@ -92,6 +122,12 @@ jobs:
92122
cd SDKIntegrationTestApps/tvOSReleaseTest-Cocoapods/
93123
pod install
94124
xcodebuild test -scheme tvOSReleaseTest -workspace tvOSReleaseTest.xcworkspace -destination "$DESTINATION" -resultBundlePath ../../test-results/tvOS-cocoapods.xcresult
125+
- name: Upload test report
126+
uses: actions/upload-artifact@v4
127+
if: always()
128+
with:
129+
name: test-report-cocoapods-tvOS
130+
path: test-results/tvOS-cocoapods.xcresult
95131
verify-carthage-tvOS:
96132
runs-on: macos-latest
97133
timeout-minutes: 20
@@ -119,3 +155,9 @@ jobs:
119155
xcodebuild -scheme xcframework
120156
cd SDKIntegrationTestApps/tvOSReleaseTest-Manual/
121157
xcodebuild test -scheme tvOSReleaseTest -project tvOSReleaseTest.xcodeproj -destination "$DESTINATION" -resultBundlePath ../../test-results/tvOS-xcframework.xcresult
158+
- name: Upload test report
159+
uses: actions/upload-artifact@v4
160+
if: always()
161+
with:
162+
name: test-report-manual-xcframework-tvOS
163+
path: test-results/tvOS-xcframework.xcresult

0 commit comments

Comments
 (0)