chore(ci): remove Android module tests from ordinary CI (#8102)

Native unit tests require an Android prebuild and Maven downloads that block otherwise completed app checks. Keep the explicit local test command while removing its CI invocation and dedicated Java setup.

(cherry picked from commit 36fc4f0b43)
This commit is contained in:
Mohamed Boudra
2026-10-28 17:42:02 +01:00
parent f59ebd4fd5
commit f098f77f4a
3 changed files with 9 additions and 9 deletions
+8
View File
@@ -157,6 +157,14 @@ test("focused contracts stay inside existing required checks", () => {
assert.ok(!jobs.has("playwright-desktop"));
});
test("ordinary CI keeps app tests without prebuilding Android modules", () => {
const source = readFileSync(ciWorkflowPath, "utf8");
const app = jobBlocks(source).get("app-tests").join("\n");
assert.match(app, /npm run build:app-deps/);
assert.match(app, /npm run test --workspace=@getpaseo\/app/);
assert.doesNotMatch(source, /test:android|expo prebuild|gradlew|actions\/setup-java/);
});
test("server builds exclude test utilities at every domain depth", () => {
const tsconfig = JSON.parse(readFileSync(serverTsconfigPath, "utf8"));
assert.ok(tsconfig.exclude.includes("src/server/**/test-utils/**"));