mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Boot the whole application on the stub renderer, headless, in CI
- dev/stub-app/main.js starts the standalone application on the stub renderer with only the contract's required members (?capabilities=all gives it every capability) and steps its frames. - npm run qa:stub-boot serves the application's own page with that entry, and fails when any Cesium module or asset is requested (the stylesheet the build's Cesium plugin links into every page is reported), on a page or console error, or when a data layer fails to turn on or off. A feed's failed response and the dev server client's own errors are reported; --strict also fails a layer that drew nothing. - The browser CI job runs it. - RENDERER-CONTRACT.md and CURRENT-STATE.md describe the application on the stub and the boot check.
This commit is contained in:
1 parent
ae4fbb5053
commit
8a4867b1b7
7 files changed
+524
-9
No files matched your search
@@ -102,6 +102,11 @@ jobs:
|
||||
- name: Street Level gate with Mapillary fixtures
|
||||
run: npm run qa:street-level:fixtures -- --strict --url http://localhost:4173
|
||||
|
||||
- name: The whole application on the stub renderer, with no Cesium loaded
|
||||
run: |
|
||||
mkdir -p qa-artifacts
|
||||
npm run qa:stub-boot -- --json qa-artifacts/stub-boot.json
|
||||
|
||||
- name: Preview server log
|
||||
if: failure()
|
||||
run: cat preview.log
|
||||
|
||||
Reference in new issue
Block a user