/bazel-android-cicd-example

Example Bazel project being built and tested with CircleCI

Primary LanguageStarlarkMIT LicenseMIT

Bazel Android sample project running with CircleCI

Project to accompany a blog post on CircleCI blog.

See .circleci for integration instructioins

zmarkan

Running locally

  • Install Bazel (tested on v3.2.0)
  • Android SDK 29 (Robolectric version 4.4 doesn't support Android SDK 30)
  • JDK 9 or higher

Known issues

  • Android Studio doesn't want to run the Robolectric tests due to Java 8 incopatibility. Tests run when run from the commandline using bazel test //src/main:unit_test