Skip to content

Commit 595c9a8

Browse files
committed
fix(ci): save testing xcresult to a stable, well-knonwn location
1 parent 2d737a2 commit 595c9a8

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/actions/test-ios-rntester/action.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ runs:
104104
shell: bash
105105
run: |
106106
echo "zipping tests results"
107-
cd /Users/runner/Library/Developer/Xcode
108-
XCRESULT_PATH=$(find . -name '*.xcresult')
109-
tar -zcvf xcresults.tar.gz $XCRESULT_PATH
107+
tar -zcvf xcresults.tar.gz "/tmp/RNTesterTestResults"
110108
- name: Upload artifact
111109
uses: actions/upload-artifact@v4.3.4
112110
if: ${{ inputs.run-unit-tests == 'true' }}

scripts/objc-test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ runTests() {
7878
-sdk iphonesimulator \
7979
-destination "platform=iOS Simulator,name=$IOS_DEVICE,OS=$IOS_TARGET_OS" \
8080
-derivedDataPath "/tmp/RNTesterBuild" \
81+
-resultBundlePath "/tmp/RNTesterTestResults" \
8182
"${SKIPPED_TESTS[@]}"
8283
}
8384

0 commit comments

Comments
 (0)