Skip to content

Commit d223d8a

Browse files
committed
fix: cache Robolectric SDK artifacts in CI to prevent test hang
Robolectric downloads ~350MB of Android SDK binaries to ~/.m2/repository/org/robolectric on first run. The CI cache only covered ~/.gradle, so cache misses caused a silent multi-hour download mid-test-run that looked like a hang.
1 parent 42aee73 commit d223d8a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
path: |
4545
~/.gradle/caches
4646
~/.gradle/wrapper
47+
~/.m2/repository/org/robolectric
4748
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
4849
restore-keys: |
4950
${{ runner.os }}-gradle-

0 commit comments

Comments
 (0)