Skip to content

Commit 0d1dd22

Browse files
authored
Update ios.yml
1 parent 56da609 commit 0d1dd22

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ios.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,15 @@ jobs:
2727
cocoapods: 'true'
2828

2929
- name: Run tests
30-
working-directory: ios
3130
run: |
32-
xcodebuild -quiet -workspace Xaman.xcworkspace -scheme Xaman -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15,OS=${{ matrix.ios }}' -resultBundlePath TestResults test
33-
31+
xcodebuild -quiet -workspace Xaman.xcworkspace -scheme Xaman -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15,OS=${{ matrix.ios }}' -resultBundlePath TestResults.xcresult test
32+
echo "Exit code: $?"
33+
34+
- name: Check for xcresult
35+
run: |
36+
ls -la
37+
if [ -d "TestResults.xcresult" ]; then echo "Found TestResults.xcresult"; else echo "TestResults.xcresult not found"; fi
38+
3439
- name: Test Summary
3540
uses: kishikawakatsumi/xcresulttool@v1
3641
with:

0 commit comments

Comments
 (0)