Loading files
50b3be768This file is pinned to the selected release. Download the original to open it in your design tool.
name: Experience checks
on:
pull_request:
paths: ['store/**', 'desktop/assets/engine-icons/**', '.github/workflows/experience-checks.yml']
push:
branches: [main]
paths: ['store/**', 'desktop/assets/engine-icons/**', '.github/workflows/experience-checks.yml']
permissions:
contents: read
jobs:
models-and-viewer:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version: '22.23.2'
- name: Verify generated artifacts match reviewed sources
run: node store/tools/build-experiences.mjs --check
- name: Verify packaged branding matches desktop assets
run: node store/tools/build-experience-branding.mjs --check
- name: Check models, packages and viewer behavior
run: >-
node --test
store/tools/experience-tests/models.test.mjs
store/agents/{voxel-worlds,generative-art,music-studio,creative-direction,drone-pilot,game-master,lab-bench}/test/*.test.mjs
store/viewers/web-viewer/test/*.test.mjs
- name: Validate Store catalog
run: node store/tools/catalog.mjs
- name: Check FreeCAD contracts and delivery (native suite is opt-in)
run: node --test store/agents/freecad/test/*.test.mjs
- name: Check Score contracts, MIDI and delivery (native suite is opt-in)
run: node --test store/agents/score/test/*.test.mjs
- name: Check OpenSCAD contracts and delivery (native suite is opt-in)
run: node --test store/agents/openscad/test/*.test.mjs
- name: Check OrcaSlicer briefs, G-code and delivery (native suite is opt-in)
run: node --test store/agents/orca-slicer/test/*.test.mjs
- name: Check Data Studio imports, SQL, real SQLite delivery and failure guards
run: node --test store/agents/data-studio/test/*.test.mjs
authoring-browser:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version: '22.23.2'
- name: Install pinned browser tools
run: |
npm ci --prefix store/tools/experience-tests --ignore-scripts --no-audit --no-fund
node store/tools/experience-tests/node_modules/playwright-core/cli.js install --with-deps chromium
node -e 'require("fs").appendFileSync(process.env.GITHUB_ENV, "BROWSER_EXECUTABLE=" + require("./store/tools/experience-tests/node_modules/playwright-core").chromium.executablePath() + "\n")'
- name: Edit real projects and reopen their exports
env:
EXPERIENCE_IDS: generative-art,music-studio,creative-direction
run: node store/tools/experience-tests/browser.mjs
- name: Verify MIDI and aligned audio with independent readers
run: |
python3 -m venv /tmp/music-delivery-reader
/tmp/music-delivery-reader/bin/pip install mido==1.3.3
/tmp/music-delivery-reader/bin/python store/tools/experience-tests/verify-music-delivery.py work/experience-evidence/afterhours-production.zip
- name: Revise and reopen real Data Studio projects in the sandboxed browser
env:
PLAYWRIGHT_MODULE: store/tools/experience-tests/node_modules/playwright-core/index.mjs
DATA_EVIDENCE_DIR: work/data-studio-evidence
run: node store/agents/data-studio/test/browser.mjs
- name: Independently verify Data Studio exports with Python CSV, Decimal and SQLite
run: python3 store/agents/data-studio/test/verify-exports.py work/data-studio-evidence
- name: Revise three brand briefs and verify real print deliveries
run: |
sudo apt-get update -qq
sudo apt-get install -y poppler-utils
node store/agents/creative-direction/test/acceptance.mjs
python3 store/agents/creative-direction/test/verify-delivery.py work/experience-evidence/forme-acceptance/run-*/acceptance.json