bazelbuild / rules_android

Android rules for Bazel
Apache License 2.0
174 stars 37 forks source link

Open source android_instrumentation_test in Starlark (Linux-only MVP) #102

Open jylinv0 opened 1 year ago

jylinv0 commented 1 year ago

Rewrite native android_instrumentation_test in starlark.

ahumesky commented 9 months ago

Note that the MVP will be linux-only and there will likely be follow-up work needed to make it work on e.g. mac

nkoroste commented 9 months ago

Thanks for adding the note. Can we add (linux only) to the title? and add another entry to the roadmap to figure out the mac use case?

ahumesky commented 9 months ago

I added the note about linux to the title, and created #184

jylinv0 commented 6 months ago

Here's the entry to a working example of AIT: https://github.com/bazelbuild/rules_utp/blob/29fdfe8be8bec141734181978f2d40777ad13740/example/ait/BUILD#L20

And here's the bazel cli to run the AIT, given an emulator has been running: https://github.com/bazelbuild/rules_utp/blob/29fdfe8be8bec141734181978f2d40777ad13740/.github/workflows/ci.yml#L119