-
Notifications
You must be signed in to change notification settings - Fork 1
Enable Integration Tests in Git #43
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
Merged
Changes from 27 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
6770e90
Enable Integration Tests in Git
aashishpatil-g 0877c2d
Rearrange workflow step
aashishpatil-g c0194e1
Remove chmod and check
aashishpatil-g 20524c9
Make script executable
aashishpatil-g 375c466
Update run config for tests
aashishpatil-g 8693cf8
Reinstate chmod for the downloaded emulator binary
aashishpatil-g d4263e9
Start emulator binary in background
aashishpatil-g 221a839
match main sdk file
aashishpatil-g 95bc074
Updated to match main SDK workflow files
aashishpatil-g bfa113d
reinstate previous run config
aashishpatil-g 9ad6d8e
Test build script change
aashishpatil-g 758b074
Test script use commit hash
aashishpatil-g 55d5c4d
Test Reinstate main branch now that PR has merged
aashishpatil-g e91fd84
Removing tvOS tests temporarily.
aashishpatil-g c4d1c13
Setup spm tests
aashishpatil-g e7057d1
Install iOS platform
aashishpatil-g d8e91e8
Test on xcode 16 only
aashishpatil-g 532a3ab
update to macos 15
aashishpatil-g 30a6c9a
Update python version to 3.11
aashishpatil-g 443fbc1
Print main sdk HEAD commit
aashishpatil-g 651889c
[Infra] Bump clang-format to v20 (#44)
ncooke3 1328218
[Infra] Update check.yml
ncooke3 aa69f88
Revert setup_spm_tests step
aashishpatil-g 9a41f38
Add check for app already configured
aashishpatil-g fb297e8
Convert app creation to lazy init
aashishpatil-g 3c1d0c8
Add back tvOS tests
aashishpatil-g 73fcdda
Update run unit name to indicate integration tests
aashishpatil-g 2b9c080
Nick feedback
aashishpatil-g File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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
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 |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # Copyright 2018 Google | ||
ncooke3 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| # Sets up Firebase Data Connect emulator and starts it to run | ||
| # integration tests. | ||
|
|
||
| set -e | ||
|
|
||
| # Get the absolute path to the directory containing this script. | ||
| SCRIPT_DIR="$(cd $(dirname ${BASH_SOURCE[0]}) && pwd)" | ||
| TEMP_DIR="$(mktemp -d -t firebase-data-connect)" | ||
| echo "Starting Firebase Data Connect emulator in ${TEMP_DIR}" | ||
| cd "${TEMP_DIR}" | ||
|
|
||
| EMULATOR_VERSION="1.8.3" | ||
| EMULATOR_FILENAME="dataconnect-emulator-macos-v${EMULATOR_VERSION}" | ||
| EMULATOR_URL="https://storage.googleapis.com/firemat-preview-drop/emulator/${EMULATOR_FILENAME}" | ||
| echo "Downloading emulator from ${EMULATOR_URL}" | ||
|
|
||
| curl -o "${EMULATOR_FILENAME}" "${EMULATOR_URL}" | ||
|
|
||
| chmod 755 "${EMULATOR_FILENAME}" | ||
|
|
||
| ./${EMULATOR_FILENAME} --logtostderr dev --listen="127.0.0.1:3628" & | ||
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
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
Oops, something went wrong.
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.