From b78026662c3f1bd77618e285fa46492ba1ed364e Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Wed, 9 Sep 2026 14:27:52 +0200 Subject: [PATCH] Add API 36 to CI and tighten script checks in tests --- .github/workflows/ci.yml | 2 +- test/android/test.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32c9cb8..75f6ca7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,7 +70,7 @@ jobs: strategy: fail-fast: false matrix: - api-level: [26, 28, 30, 33, 35] + api-level: [26, 28, 30, 33, 35, 36] steps: - uses: actions/checkout@v7 diff --git a/test/android/test.ts b/test/android/test.ts index 37b18ed..a993c53 100644 --- a/test/android/test.ts +++ b/test/android/test.ts @@ -157,6 +157,12 @@ describe('Test Android unpinning', function () { const failure = await waitForApp(session, () => fridaOutput); if (!failure) { + // Fail if any scripts print major warnings: + const scriptErrors = fridaOutput.split('\n').filter((line) => line.includes('!!!')); + if (scriptErrors.length) { + throw new Error(`A script failed to set itself up:\n${scriptErrors.join('\n')}`); + } + console.log('App loaded'); return; }