nowinandroid icon indicating copy to clipboard operation
nowinandroid copied to clipboard

Introduce Gradle Managed Devices + Automated Test Device

Open thagikura opened this issue 2 years ago • 6 comments

  • Update the AGP to 7.3.0-beta05 because it's needed for GMD
  • Introduce GMD + ATD for a single module at first (core-database)

By running "./gradlew pixel4Api30DebugAndroidTest", the instrumented tests of core-database are executed using the device configurations specified in the build script.

thagikura avatar Aug 02 '22 08:08 thagikura

Hey Takeshi, this requires moving to a beta version of AGP, which is a pretty big change just for GMD.

JoseAlcerreca avatar Aug 03 '22 13:08 JoseAlcerreca

Ok, let me wait for the AGP becomes stable, thanks.

thagikura avatar Aug 05 '22 05:08 thagikura

7.3.0 just released, this should be unblocked once we update (#285 )

alexvanyo avatar Sep 15 '22 17:09 alexvanyo

@thagikura a request for the PR: Could it be opened from a branch within the project and not from a fork?

I believe for security purposes the new workflow won't be run from a PR from a fork, and this is definitely one we want to make sure is passing before merging.

alexvanyo avatar Sep 15 '22 17:09 alexvanyo

Hi Alex,

Ok, I'll open a new branch instead of a forked repository. Thanks!

thagikura avatar Sep 21 '22 06:09 thagikura

What's the status of this PR please? Should we merge it and run our API30 instrumented tests using GMD + ATD instead of reactivecircus?

dturner avatar Nov 11 '22 17:11 dturner

Closing this PR due to inactivity. If you still wish to submit this change, please create a new PR.

mmoczkowski avatar Nov 21 '22 13:11 mmoczkowski

There's a request from the GMD team to reintroduce this into the project.

@thagikura would you be able to update to AGP 7.3.0 and merge this please? We can then evaluate whether GMD is less flaky than using reactivecircus.

dturner avatar Dec 09 '22 16:12 dturner

Ok, I'll check if GMD works with AGP 7.3.0. This PR was from the forked repository. I'll try it with the same repository in another branch.

thagikura avatar Dec 12 '22 05:12 thagikura

Closing this in favor of https://github.com/android/nowinandroid/pull/479 to run GitHub Actions from the same repository instead of a forked repository.

thagikura avatar Dec 13 '22 05:12 thagikura