Skip to content

Commit f4e8a70

Browse files
Test 44 of CI x-large
1 parent ddfbf7f commit f4e8a70

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

.github/workflows/ios-simulator-tests.yml

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
# This supports up to iOS 18.5 Simulator + iOS 26.0
1414
# https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md
1515
# https://github.com/actions/runner-images/issues/3239
16-
runs-on: macos-15
16+
runs-on: macos-15-xlarge
1717

1818
steps:
19-
- name: List available simulator runtimes (1/2)
20-
run: xcrun simctl list runtimes
19+
# - name: List available simulator runtimes (1/2)
20+
# run: xcrun simctl list runtimes
2121

22-
- name: Check Version of Xcodebuild
23-
run: xcodebuild -version
22+
# - name: Check Version of Xcodebuild
23+
# run: xcodebuild -version
2424

2525
# - uses: maxim-lobanov/setup-xcode@v1
2626
# with:
@@ -125,39 +125,39 @@ jobs:
125125
echo "Dumping server logs..."
126126
cat server.log
127127
128-
- name: Retrieve and Print Test Logs on Failure (1/2)
129-
if: failure()
130-
run: |
131-
echo "Test failed. Retrieving logs..."
132-
xcrun xcresulttool get test-results tests --path /Users/runner/work/hapns/hapns/TestSlowness.xcresult --format json | jq .
133-
134-
- name: Retrieve and Print Test Logs on Failure (2/2)
135-
if: failure()
136-
run: |
137-
echo "Test failed. Retrieving logs..."
138-
DERIVED_DATA_PATH=$(find ~/Library/Developer/Xcode/DerivedData -name "personalized-news-feed-*" -type d -maxdepth 1)
139-
XC_RESULT_PATH=$(find $DERIVED_DATA_PATH/Logs/Test -name "*.xcresult" -type d -print -quit)
140-
if [ -n "$XC_RESULT_PATH" ]; then
141-
echo "Found test result bundle at: $XC_RESULT_PATH"
142-
xcrun xcresulttool get test-results summary --path "$XC_RESULT_PATH" --format json | jq .
143-
else
144-
echo "Could not find .xcresult bundle."
145-
fi
128+
# - name: Retrieve and Print Test Logs on Failure (1/2)
129+
# if: failure()
130+
# run: |
131+
# echo "Test failed. Retrieving logs..."
132+
# xcrun xcresulttool get test-results tests --path /Users/runner/work/hapns/hapns/TestSlowness.xcresult --format json | jq .
146133

147-
- name: Verify app entitlements
148-
if: failure()
149-
env:
150-
APNS_TOKEN_KEY: ${{ secrets.APNS_TOKEN_KEY }}
151-
run: |
152-
echo "Verifying app entitlements before test run..."
153-
DERIVED_DATA_PATH=$(find ~/Library/Developer/Xcode/DerivedData -name "personalized-news-feed-*" -type d -maxdepth 1)
154-
APP_PATH=$(find $DERIVED_DATA_PATH/Build/Products -name "*.app" -type d -print -quit)
155-
if [ -n "$APP_PATH" ]; then
156-
echo "Found app bundle at: $APP_PATH"
157-
codesign -d --entitlements :- "$APP_PATH"
158-
else
159-
echo "Could not find .app bundle to verify entitlements."
160-
fi
134+
# - name: Retrieve and Print Test Logs on Failure (2/2)
135+
# if: failure()
136+
# run: |
137+
# echo "Test failed. Retrieving logs..."
138+
# DERIVED_DATA_PATH=$(find ~/Library/Developer/Xcode/DerivedData -name "personalized-news-feed-*" -type d -maxdepth 1)
139+
# XC_RESULT_PATH=$(find $DERIVED_DATA_PATH/Logs/Test -name "*.xcresult" -type d -print -quit)
140+
# if [ -n "$XC_RESULT_PATH" ]; then
141+
# echo "Found test result bundle at: $XC_RESULT_PATH"
142+
# xcrun xcresulttool get test-results summary --path "$XC_RESULT_PATH" --format json | jq .
143+
# else
144+
# echo "Could not find .xcresult bundle."
145+
# fi
146+
147+
# - name: Verify app entitlements
148+
# if: failure()
149+
# env:
150+
# APNS_TOKEN_KEY: ${{ secrets.APNS_TOKEN_KEY }}
151+
# run: |
152+
# echo "Verifying app entitlements before test run..."
153+
# DERIVED_DATA_PATH=$(find ~/Library/Developer/Xcode/DerivedData -name "personalized-news-feed-*" -type d -maxdepth 1)
154+
# APP_PATH=$(find $DERIVED_DATA_PATH/Build/Products -name "*.app" -type d -print -quit)
155+
# if [ -n "$APP_PATH" ]; then
156+
# echo "Found app bundle at: $APP_PATH"
157+
# codesign -d --entitlements :- "$APP_PATH"
158+
# else
159+
# echo "Could not find .app bundle to verify entitlements."
160+
# fi
161161

162162
- name: Cleanup
163163
if: always()

0 commit comments

Comments
 (0)