-
Notifications
You must be signed in to change notification settings - Fork 624
Setup CI for named db tests #5206
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
Conversation
Release note changesNo release note changes were detected. If you made changes that should be |
Generated by 🚫 Danger |
Coverage Report 1Affected Products
Test Logs |
7443794
to
9704f53
Compare
85bd6ba
to
776d97c
Compare
Size Report 1Affected Products
Test Logs |
@@ -70,6 +70,12 @@ android { | |||
def targetBackend = findProperty("targetBackend") ?: "emulator" | |||
buildConfigField("String", "TARGET_BACKEND", "\"$targetBackend\"") | |||
|
|||
if (findProperty('targetDatabaseId')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatively
def targetDatabaseId = findProperty('targetDatabaseId') ?: "(default)"
buildConfigField("String", "TARGET_DATABASE_ID", "\"$targetDatabaseId\"")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
* Initial setup * fix gradle file * separate job * Control * Address Feedback.
Example run of the new job: https://github.com/firebase/firebase-android-sdk/actions/runs/5684374125/job/15407013872?pr=5206
This PR has two parts:
test-db
as opposed to the default one.test-db
tests due to asserts that are too restrictive.