Skip to content
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

Introduce GMD + ATD #479

Merged
merged 14 commits into from
Jan 10, 2023
5 changes: 1 addition & 4 deletions .github/workflows/AndroidCIWithGmd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,10 @@ jobs:
steps:
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
distribution: 'zulu'
java-version: '11'
- uses: actions/checkout@v2

- name: Setup Android SDK
uses: android-actions/setup-android@v2

- name: Run instrumented tests with GMD
continue-on-error: true
run: ./gradlew cleanManagedDevices --unused-only && ./gradlew pixel4api30DemoDebugAndroidTest -Dorg.gradle.workers.max=1 -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" -Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true --info
Expand Down
1 change: 1 addition & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ android {
unitTests {
isIncludeAndroidResources = true
}
// TODO: Convert it as a convention plugin once Flamingo goes out (b/242515648)
thagikura marked this conversation as resolved.
Show resolved Hide resolved
managedDevices {
devices {
maybeCreate<com.android.build.api.dsl.ManagedVirtualDevice>("pixel4api30").apply {
Expand Down
1 change: 1 addition & 0 deletions benchmarks/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ android {
experimentalProperties["android.experimental.self-instrumenting"] = true

testOptions {
// TODO: Convert it as a convention plugin once Flamingo goes out (b/242515648)
managedDevices {
devices {
create<ManagedVirtualDevice>("pixel6Api31") {
Expand Down
1 change: 1 addition & 0 deletions core/database/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ android {
namespace = "com.google.samples.apps.nowinandroid.core.database"

testOptions {
thagikura marked this conversation as resolved.
Show resolved Hide resolved
// TODO: Convert it as a convention plugin once Flamingo goes out (b/242515648)
managedDevices {
devices {
maybeCreate<com.android.build.api.dsl.ManagedVirtualDevice>("pixel4api30").apply {
Expand Down
1 change: 1 addition & 0 deletions feature/bookmarks/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ android {
namespace = "com.google.samples.apps.nowinandroid.feature.bookmarks"

testOptions {
// TODO: Convert it as a convention plugin once Flamingo goes out (b/242515648)
managedDevices {
devices {
maybeCreate<com.android.build.api.dsl.ManagedVirtualDevice>("pixel4api30").apply {
Expand Down
1 change: 1 addition & 0 deletions feature/foryou/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ android {
namespace = "com.google.samples.apps.nowinandroid.feature.foryou"

testOptions {
// TODO: Convert it as a convention plugin once Flamingo goes out (b/242515648)
managedDevices {
devices {
maybeCreate<com.android.build.api.dsl.ManagedVirtualDevice>("pixel4api30").apply {
Expand Down
1 change: 1 addition & 0 deletions feature/interests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ android {
namespace = "com.google.samples.apps.nowinandroid.feature.interests"

testOptions {
// TODO: Convert it as a convention plugin once Flamingo goes out (b/242515648)
managedDevices {
devices {
maybeCreate<com.android.build.api.dsl.ManagedVirtualDevice>("pixel4api30").apply {
Expand Down
1 change: 1 addition & 0 deletions feature/settings/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ android {
namespace = "com.google.samples.apps.nowinandroid.feature.settings"

testOptions {
// TODO: Convert it as a convention plugin once Flamingo goes out (b/242515648)
managedDevices {
devices {
maybeCreate<com.android.build.api.dsl.ManagedVirtualDevice>("pixel4api30").apply {
Expand Down
1 change: 1 addition & 0 deletions feature/topic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ android {
namespace = "com.google.samples.apps.nowinandroid.feature.topic"

testOptions {
// TODO: Convert it as a convention plugin once Flamingo goes out (b/242515648)
managedDevices {
devices {
maybeCreate<com.android.build.api.dsl.ManagedVirtualDevice>("pixel4api30").apply {
Expand Down