From a4adb73182e031c8e85a94125e4eb59eb897aded Mon Sep 17 00:00:00 2001 From: James Babcock Date: Sun, 1 Nov 2026 02:31:09 -0800 Subject: [PATCH] Fix spurious unit test failure in github CI --- .github/workflows/tests.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 65ba1739..e9c20543 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,12 +18,18 @@ jobs: - run: npm ci - run: npm test - # The shared Kotlin tests (tests/kotlin, on the JVM host). The runner image - # already carries the JDK 17 and Android SDK the build needs. + # The shared Kotlin tests (tests/kotlin, on the JVM host). Pinned to + # ubuntu-24.04 for the Android SDK its image carries; the JDK is pinned + # explicitly because Gradle 8.14 can't run on the JDK 25 that is the default + # on ubuntu-26.04 (now ubuntu-latest), failing with just "25.0.5". test-kotlin: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '17' - run: npm ci - run: npm run test:kotlin