Age | Commit message (Collapse) | Author |
|
This reverts commit 399f4f61132f363e9479e59c550a7bcf005922d8.
Reason for revert: b/187908823
Change-Id: I81f7cd3672e65ce1f7e1fa846b6c3e2f87147a26
|
|
This CL adds logging that should make it easier to see which tests have run and view the test results.
Example Action run: https://github.com/google/dagger/actions/runs/603847514
* Uploads test / androidTest build reports as downloadable artifacts
* Adds individual test results in console using tasks.withType(Test)
* Adds individual androidTest results in console using LogCat
* Adds --keep_going (Bazel) and --continue (Gradle) to make iterating on multiple test failures faster.
RELNOTES=N/A
PiperOrigin-RevId: 363511840
|
|
See https://github.com/google/go-github/pull/1821
This CL makes a few changes to reduce the load of GitHub Actions from Dagger:
* Restricts GitHub Actions to only the master or gh-pages branches (Note: For
PR, this filter applies to the branch to merge into, not the branch itself).
* Cancels previous GitHub Action runs for the same PR branch.
* Removes excessive API levels for emulator tests.
RELNOTES=N/A
PiperOrigin-RevId: 363054339
|
|
Publishing the latest snapshots is currently failing since ubuntu-latest was updated to Java 11, which doesn't like empty root packages when using javadoc_library:
https://github.com/google/dagger/runs/1982251838?check_suite_focus=true
RELNOTES=N/A
PiperOrigin-RevId: 359639855
|
|
RELNOTES=N/A
PiperOrigin-RevId: 359564145
|
|
This CL fixes the version of Java to JDK8 and Bazel to 3.7.1
For Java, ubuntu-latest will soon be switching from Java 8 to Java 11 as the default (https://github.com/actions/virtual-environments/issues/1816), and our Bazel builds currently don't work with Java 11 since compile_testing depends on @local_jdk//:lib/tools.jar which doesn't exist in Java 11.
https://github.com/google/bazel-common/blob/master/third_party/java/compile_testing/BUILD#L32
For Bazel, ubuntu-latest currently uses Bazel 4.0.0 by default, which fails with Robolectric tests @Config annotation:
```
error: missing required annotation argument: <clinit> @Config
```
RELNOTES=N/A
PiperOrigin-RevId: 358062883
|
|
RELNOTES=N/A
PiperOrigin-RevId: 354637747
|
|
ASM transform.
Fixes https://github.com/google/dagger/issues/2337
RELNOTES=Fix an incompatibility issue between the Hilt Gradle Plugin and AGP 4.2.0-beta04. Note that this fix makes it so that earlier versions of AGP 4.2.0 are incompatible with Hilt's Plugin.
PiperOrigin-RevId: 354610640
|
|
This CL switches from our own custom emulator setup logic to use https://github.com/marketplace/actions/android-emulator-runner.
Workflow results:
https://github.com/google/dagger/actions/runs/519636387
Given that none of the emulator tests failed without even allowing for a retry, suggests that this approach is already more reliable than what we were using before.
RELNOTES=N/A
PiperOrigin-RevId: 354580258
|
|
RELNOTES=N/A
PiperOrigin-RevId: 354544595
|
|
RELNOTES=N/A
PiperOrigin-RevId: 354378373
|
|
RELNOTES=N/A
PiperOrigin-RevId: 354339028
|
|
RELNOTES=N/A
PiperOrigin-RevId: 354327132
|
|
This prevents the LOCAL-SNAPSHOT artifacts from being cached with the rest of the `.m2/repository` directory which in turn would cause other jobs to fail due to not using the local snapshots built for the workflow. Instead use the upload and download actions to share the artifacts between jobs.
RELNOTES=N/A
PiperOrigin-RevId: 354200073
|
|
RELNOTES=n/a
PiperOrigin-RevId: 354137828
|
|
RELNOTES=N/A
PiperOrigin-RevId: 354106317
|