Skip to content

Commit 9077ff6

Browse files
authored
Update AppCheckExample unit test target to pass during continuous int… (google#356)
1 parent 2154ea7 commit 9077ff6

4 files changed

Lines changed: 107 additions & 75 deletions

File tree

.github/workflows/integration_tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
PASSWORD_SECRET=$PASSWORD_SECRET
4343
4444
app-check-api-token-tests:
45-
runs-on: macOS-12
45+
runs-on: macOS-13
4646
# Don't run if triggered by a PR from a fork since our Secrets won't be provided to the runner.
4747
if: "!github.event.pull_request.head.repo.fork"
4848
defaults:
@@ -51,14 +51,17 @@ jobs:
5151
steps:
5252
- name: Checkout
5353
uses: actions/checkout@v3
54+
- name: Use Xcode 15.0.1
55+
run: |
56+
sudo xcode-select -s /Applications/Xcode_15.0.1.app
5457
- name: Build test target for App Check Example
5558
run: |
5659
xcodebuild \
5760
-project AppAttestExample.xcodeproj \
5861
build-for-testing \
5962
-scheme AppAttestExample \
6063
-sdk iphonesimulator \
61-
-destination 'platform=iOS Simulator,name=iPhone 11'
64+
-destination 'platform=iOS Simulator,name=iPhone 15'
6265
- name: Run test target for App Check Example
6366
env:
6467
AppCheckDebugToken : ${{ secrets.APP_CHECK_DEBUG_TOKEN }}
@@ -69,6 +72,6 @@ jobs:
6972
test-without-building \
7073
-scheme AppAttestExample \
7174
-sdk iphonesimulator \
72-
-destination 'platform=iOS Simulator,name=iPhone 11' \
75+
-destination 'platform=iOS Simulator,name=iPhone 15' \
7376
AppCheckDebugToken=$AppCheckDebugToken \
7477
APP_CHECK_WEB_API_KEY=$APP_CHECK_WEB_API_KEY

0 commit comments

Comments
 (0)