Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 281
Update Github workflow build & run destinations, fix respective integration tests#545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+34
−21
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
6783884
Update Github workflow build & run destinations. Integration tests wi…
w-goog 4e2fa33
Hardcoded unit tests to run on Xcode 16.4 on macos-15, due to breakin…
w-goog 2dff854
Align macOS version with builds.yml with *-tests files.
w-goog 2773064
Hardcoded integration tests to run on Xcode 16.4 on macos-15, due to …
w-goog 184f5b8
Let selected Xcode determine run destination for unit test builds.
w-goog d665e1e
Revert "Let selected Xcode determine run destination for unit test bu…
w-goog 045a924
Hardcode build, integration, & unit tests to iPhone 16 again :(
w-goog ae8429f
Update AppAttest integration tests to use Xcode 16.4 + macos-15 as well
w-goog 46dedc1
Update pod linting back to macOS 13, because it is failing for odd re…
w-goog e191bd5
Update test runners to use explicit iOS 18.6 version (keyboards are n…
w-goog 76cdad6
Update UI tests to work on iOS 18.6, expand on documentation for loca…
w-goog 364e7c8
Specify required simulator on SPM unit tests
w-goog d5e39ba
Update README.md for formatting & typos
w-goog 6aaf9d8
Update UI test element strings to DaysUntilBirthday(iOS)
w-goog afa177c
Reset UI timeout to 30 seconds
w-goog File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -47,7 +47,7 @@ jobs: | ||
| fi | ||
| swift-button-functional-test: | ||
| runs-on: macos-latest | ||
| runs-on: macos-15 | ||
| needs: check-pr-body-for-key | ||
| # Don't run if triggered by a PR from a fork since our Secrets won't be provided to the runner. | ||
| if: ${{ needs.check-pr-body-for-key.outputs.RUN_INTEGRATION == 'yes' && !github.event.pull_request.head.repo.fork }} | ||
| @@ -57,14 +57,15 @@ jobs: | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v3 | ||
| - name: Select Xcode | ||
| run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer | ||
w-goog marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| - name: Build test target for Google Sign-in button for Swift | ||
| run: | | ||
| xcodebuild \ | ||
| -project DaysUntilBirthday.xcodeproj \ | ||
| build-for-testing \ | ||
| -scheme DaysUntilBirthday\ \(iOS\) \ | ||
| -sdk iphonesimulator \ | ||
| -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4' | ||
| - name: Run test target for Google Sign-in button for Swift | ||
| env: | ||
| EMAIL_SECRET : ${{ secrets.EMAIL_SECRET }} | ||
| @@ -75,12 +76,12 @@ jobs: | ||
| test-without-building \ | ||
| -scheme DaysUntilBirthday\ \(iOS\) \ | ||
| -sdk iphonesimulator \ | ||
| -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4' \ | ||
| -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.6' \ | ||
| EMAIL_SECRET=$EMAIL_SECRET \ | ||
| PASSWORD_SECRET=$PASSWORD_SECRET | ||
| app-check-api-token-tests: | ||
| runs-on: macOS-13 | ||
| runs-on: macos-15 | ||
| # Don't run if triggered by a PR from a fork since our Secrets won't be provided to the runner. | ||
| if: "!github.event.pull_request.head.repo.fork" | ||
| defaults: | ||
| @@ -89,17 +90,15 @@ jobs: | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v3 | ||
| - name: Use Xcode 15.0.1 | ||
| run: | | ||
| sudo xcode-select -s /Applications/Xcode_15.0.1.app | ||
| - name: Select Xcode | ||
| run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer | ||
| - name: Build test target for App Check Example | ||
| run: | | ||
| xcodebuild \ | ||
| -project AppAttestExample.xcodeproj \ | ||
| build-for-testing \ | ||
| -scheme AppAttestExample \ | ||
| -sdk iphonesimulator \ | ||
| -destination 'platform=iOS Simulator,name=iPhone 15' | ||
| - name: Run test target for App Check Example | ||
| env: | ||
| AppCheckDebugToken : ${{ secrets.APP_CHECK_DEBUG_TOKEN }} | ||
| @@ -110,6 +109,6 @@ jobs: | ||
| test-without-building \ | ||
| -scheme AppAttestExample \ | ||
| -sdk iphonesimulator \ | ||
| -destination 'platform=iOS Simulator,name=iPhone 15' \ | ||
| -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.6' \ | ||
| AppCheckDebugToken=$AppCheckDebugToken \ | ||
| APP_CHECK_WEB_API_KEY=$APP_CHECK_WEB_API_KEY | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -39,15 +39,17 @@ jobs: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| os: [macos-latest] | ||
| os: [macos-15] | ||
| sdk: ['macosx', 'iphonesimulator'] | ||
| include: | ||
| - sdk: 'macosx' | ||
| destination: '"platform=OS X,arch=x86_64"' | ||
| - sdk: 'iphonesimulator' | ||
| destination: '"platform=iOS Simulator,name=iPhone 15"' | ||
| destination: '"platform=iOS Simulator,name=iPhone 16,OS=18.6"' | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - name: Select Xcode | ||
| run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer | ||
w-goog marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| - name: Build unit test target | ||
| run: | | ||
| xcodebuild \ | ||
14 changes: 8 additions & 6 deletions
14 .../Swift/DaysUntilBirthday/DaysUntilBirthdayUITests(iOS)/DaysUntilBirthdayUITests_iOS.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.