Skip to content

Commit d5d7279

Browse files
committed
[CI] Free disk space on Linux runner
1 parent bba3a13 commit d5d7279

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
runs-on: ubuntu-latest
1818
timeout-minutes: 30
1919
steps:
20+
- name: Free Disk Space (Ubuntu)
21+
uses: jlumbroso/[email protected]
22+
with:
23+
tool-cache: false
24+
android: false
2025
- uses: actions/checkout@v4
2126
- name: "Test Swift Package on Linux"
2227
run: swift test

Sources/AndroidLooper/AndroidLooper.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public struct AndroidLooper: ~Copyable, @unchecked Sendable {
5959

6060
_mainLooper = ALooper_forThread()
6161
if _mainLooper == nil {
62-
// this happens sometimes when running in test cases
62+
// this happens sometimes when running in test cases, perhaps because setup is not being called from the main thread
6363
logger.debug("setupMainLooper: ALooper_forThread: no looper found for thread")
6464
return false
6565
}

0 commit comments

Comments
 (0)