CI: Robolectric's jars through Gradle; the bump on the latest main

Android's unit tests fail on main (runs 411, 413, 417, 419, 424): each
Robolectric test fails in MavenArtifactFetcher with an IOException.
Robolectric downloads its Android framework jars (about 200 MB each)
during the tests, and Maven Central refuses some downloads with HTTP 429
(its rate limit).

Now Gradle downloads the two jars that the tests use (SDK 28 and SDK 35),
with its retries and its cache, and Robolectric runs offline from their
directory. -ProbolectricRepoUrl=<a mirror> still makes Robolectric download
them itself from that mirror. Gradle tries a refused download again, up to
6 times (gradle.properties).

The D-Modem bump checked out the commit that its event names. A run that
waited for the run before it therefore built on an old main, and its pull
request (#103) conflicted with the one that the earlier run merged (#102).
Now it checks out main as it is when the run starts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSYSk1rgeTZ9ZWMcZL
Signed-off-by: Neo-Desktop <321592+Neo-Desktop@users.noreply.github.com>
This commit is contained in:
Neo-DesktopandClaude Opus 5.5 committed 2026-11-28 19:25:51 +00:00
1 parent 96410bb3bf
commit 62d9defefb
3 files changed
+37 -3

No files matched your search

+3
View File
@@ -51,9 +51,12 @@ jobs:
exit 1
fi
# main as it is now, not the commit the event names: a run that waited for the one before it
# (concurrency) builds on the main that the earlier run merged into, and does not conflict with it
- uses: actions/checkout@v6
with:
token: ${{ secrets.DMODEM_BUMP_TOKEN }}
ref: main
fetch-depth: 0
# only the D-Modem submodule (proot stays where it is)