CI: run the browser tests on Debian's chromium
Playwright's Chromium download from cdn.playwright.dev timed out on the runner (the only failing step; moon tests passed). Install chromium with apt, skip the Playwright download, and let the tests take CHROMIUM_PATH. The workflow now also runs tests/android-sim.cjs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a8ce535f37
commit
49ea6c54ae
4 files changed
+11
-6
No files matched your search
@@ -69,7 +69,7 @@ Needs [MoonBit](https://www.moonbitlang.com/download) (`curl -fsSL https://cli.m
|
||||
moon test # the pure core: grid, gestures, updater, the app (js backend)
|
||||
moon test --target wasm-gc # the same tests on a second backend
|
||||
scripts/build-web.sh --demo # the page -> dist/web (with the demo apps.json / widgets.json)
|
||||
npm install && npx playwright install chromium
|
||||
npm install && npx playwright install chromium # or CHROMIUM_PATH=/usr/bin/chromium
|
||||
npm test # builds the page, then tests/e2e.cjs and tests/android-sim.cjs
|
||||
android/build.sh # the page + Java shell -> build/ultra-launcher.apk, signed
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user