-
Notifications
You must be signed in to change notification settings - Fork 157
Include tests in build and increase version number to 2 #91
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -96,7 +96,7 @@ echo "INFO: Cleaning the project..." | |||||
|
||||||
# Build the production release bundle without generating a baseline profile. | ||||||
echo "INFO: Building the production release bundle..." | ||||||
./gradlew app:bundleRelease app:spdxSbomForRelease -x test -x uploadCrashlyticsMappingFileRelease -Pandroid.sdk.path=$ANDROID_HOME -PCI_BUILD=true | ||||||
./gradlew app:bundleRelease app:spdxSbomForRelease -x uploadCrashlyticsMappingFileRelease -Pandroid.sdk.path=$ANDROID_HOME -PCI_BUILD=true | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removing the To ensure tests are run, you need to explicitly add the
Suggested change
|
||||||
|
||||||
# --- Artifact Collection --- | ||||||
echo "INFO: Preparing artifacts for Kokoro..." | ||||||
|
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.
Removing the
-x test
flag alone is not enough to run the tests during the build. ThebundleRelease
Gradle task does not have a dependency on thetest
task, so tests will not be executed automatically.To ensure tests are run, you need to explicitly add the
test
task to the command.