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.
This commit is contained in:
Mohamed Boudra
2026-10-28 14:54:25 +07:00
committed by GitHub
parent 4dae66eb8c
commit 36fc4f0b43
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/**"));