This repository was archived by the owner on Mar 23, 2025. It is now read-only.
File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 34
34
runs-on : macOS-10.15
35
35
env :
36
36
DEVELOPER_DIR : " /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer"
37
+ RESULT_BUNDLE_BASE : " Test-ApolloDeveloperKit-${{ matrix.apollo }}-${{ matrix.sdk }}"
37
38
strategy :
38
39
fail-fast : false
39
40
matrix :
@@ -110,12 +111,12 @@ jobs:
110
111
( cd Carthage/Checkouts/apollo-ios && swift package resolve ) # Workaround for Carthage's timeout error while reading xcodeproj.
111
112
carthage build --platform '${{ matrix.platform }}' --use-xcframeworks --no-use-binaries
112
113
- name : Run unit tests
113
- run : xcodebuild test -project ApolloDeveloperKit.xcodeproj -scheme ApolloDeveloperKit -sdk '${{ matrix.sdk }}' -destination '${{ matrix.destination }}' | xcpretty
114
+ run : xcodebuild test -project ApolloDeveloperKit.xcodeproj -scheme ApolloDeveloperKit -sdk '${{ matrix.sdk }}' -destination '${{ matrix.destination }}' -resultBundlePath '/tmp/${{ env.RESULT_BUNDLE_BASE }}' | xcpretty
114
115
- uses : actions/upload-artifact@v2
115
116
if : always()
116
117
with :
117
- name : Test-ApolloDeveloperKit- ${{ matrix.apollo }}-${{ matrix.sdk }}.xcresult
118
- path : ~/Library/Developer/Xcode/DerivedData/ApolloDeveloperKit-*/Logs/Test/Test-ApolloDeveloperKit-* .xcresult
118
+ name : ${{ env.RESULT_BUNDLE_BASE }}.xcresult
119
+ path : /tmp/${{ env.RESULT_BUNDLE_BASE }} .xcresult
119
120
- name : Collect coverages
120
121
run : |
121
122
bundle exec slather coverage -x --scheme ApolloDeveloperKit ApolloDeveloperKit.xcodeproj
You can’t perform that action at this time.
0 commit comments