35 lines
1.4 KiB
YAML
35 lines
1.4 KiB
YAML
# Rosea Domi: the e2e suites on this PC's e2e runner (fabrica-release.md F9, android-release-apk.md; Fabrica
|
|
# docs/20_tests.md, docs/31_runners_here.md, docs/35_phone_queue.md).
|
|
# web: the PWA built, then `fabrica tests run --target web` (Playwright headless against the BUILT bundle under
|
|
# /Rosea/), the records, traces and screenshots kept with the run.
|
|
# phone: the debug APK built, then `fabrica tests run --target phone` on the Wave 10. The step says `device:`, so
|
|
# the hub queues this run for the phone and the nested run uses the run's phone (FABRICA_PHONE_LEASED);
|
|
# no adb reaches the phone outside the queue. The run waits in the queue without holding a runner.
|
|
# Manual: no push webhook reaches the hub yet. Gradle's cache is on D: (never C:; F: is the crowded workspace).
|
|
name: e2e
|
|
on:
|
|
manual: true
|
|
runner: windows-e2e
|
|
env:
|
|
PLAYWRIGHT_BROWSERS_PATH: 'F:\ms-playwright'
|
|
GRADLE_USER_HOME: 'D:\build\rosea\gradle'
|
|
NDK_HOME: 'F:\Tools\Android\Sdk\ndk\27.1.12297006'
|
|
steps:
|
|
- id: install
|
|
run: pnpm install --frozen-lockfile
|
|
- id: build
|
|
needs: [install]
|
|
run: pnpm build
|
|
- id: web
|
|
needs: [build]
|
|
run: fabrica tests run --target web
|
|
artifacts: [".fabrica/runs/tests/**"]
|
|
- id: apk
|
|
needs: [install]
|
|
run: pnpm tauri:android
|
|
- id: phone
|
|
needs: [apk]
|
|
device: Wave 10
|
|
run: fabrica tests run --target phone
|
|
artifacts: [".fabrica/runs/tests/**"]
|