From 35a4a0750f4370effb232b87fdabacba7f338371 Mon Sep 17 00:00:00 2001 From: XxJSONDeruloxX Date: Wed, 14 Oct 2026 21:09:41 -0400 Subject: [PATCH] ci: expose unexpected test process exits --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba8a13b324..28d17965ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -501,7 +501,12 @@ jobs: run: python3 -m unittest discover -s tools/tests -p 'test_*.py' - name: Unit tests - run: ./gradlew testReleaseUnitTest --console=plain -PndkVersion="$NDK_VERSION" + env: + JAVA_TOOL_OPTIONS: ${{ github.event_name == 'workflow_dispatch' && '-Drobolectric.logging=stderr' || '' }} + run: | + args=() + if [ "$GITHUB_EVENT_NAME" = workflow_dispatch ]; then args+=(--info --stacktrace); fi + ./gradlew testReleaseUnitTest --console=plain -PndkVersion="$NDK_VERSION" "${args[@]}" - name: Sign with the testkey (v1 + v2 + v3) run: |