3535 # The integration tests build the psrunner wheel and create real Python environments with uv.
3636 - uses : astral-sh/setup-uv@v10.3.0
3737
38+ # The Release build embeds the Vue panel (npm ci + npm run build in panel/; D-155).
39+ - uses : actions/setup-node@v7
40+ with :
41+ node-version-file : panel/.nvmrc
42+ cache : npm
43+ cache-dependency-path : panel/package-lock.json
44+
3845 - name : Restore
3946 run : dotnet restore
4047
@@ -46,12 +53,25 @@ jobs:
4653 if : runner.os == 'Linux'
4754 run : sudo apt-get update && sudo apt-get install -y --no-install-recommends libpango-1.0-0 libpangoft2-1.0-0 libharfbuzz0b fonts-dejavu-core
4855
49- # The persistence, queue and worker tests start PostgreSQL 16, RabbitMQ 3.13 and Mailpit with Testcontainers
50- # (Docker); GitHub's Windows runners cannot run Linux containers, so Windows runs the Core tests only.
56+ # The panel E2E tests drive Chromium with Playwright (spec 008; D-149, D-156).
57+ - name : Install Chromium
58+ if : runner.os == 'Linux'
59+ run : pwsh tests/PythonScriptRunner.Panel.E2E.Tests/bin/Release/net10.0/playwright.ps1 install --with-deps chromium
60+
61+ # The persistence, queue, worker, dashboard and panel tests start PostgreSQL 16, RabbitMQ 3.13 and Mailpit with
62+ # Testcontainers (Docker); GitHub's Windows runners cannot run Linux containers, so Windows runs the Core tests only.
5163 - name : Test
5264 if : runner.os == 'Linux'
5365 run : dotnet test --no-build --configuration Release
5466
67+ - name : Upload Playwright traces
68+ if : failure() && runner.os == 'Linux'
69+ uses : actions/upload-artifact@v7
70+ with :
71+ name : playwright-traces
72+ path : tests/PythonScriptRunner.Panel.E2E.Tests/bin/Release/net10.0/TestResults/traces/
73+ if-no-files-found : ignore
74+
5575 - name : Test (Core)
5676 if : runner.os == 'Windows'
5777 run : dotnet test --no-build --configuration Release --project tests/PythonScriptRunner.Core.Tests
6989 - name : Verify formatting
7090 run : dotnet format --verify-no-changes
7191
92+ panel :
93+ name : Panel (Vue)
94+ runs-on : ubuntu-latest
95+ defaults :
96+ run :
97+ working-directory : panel
98+ steps :
99+ - uses : actions/checkout@v7
100+
101+ - uses : actions/setup-node@v7
102+ with :
103+ node-version-file : panel/.nvmrc
104+ cache : npm
105+ cache-dependency-path : panel/package-lock.json
106+
107+ - name : Install
108+ run : npm ci --no-audit --no-fund
109+
110+ - name : Lint
111+ run : npm run lint
112+
113+ - name : Type check
114+ run : npm run typecheck
115+
116+ # The TypeScript types are generated from the versioned OpenAPI snapshot of the Dashboard tests (D-137).
117+ - name : API types up to date
118+ run : npm run api:check
119+
120+ - name : Test
121+ run : npm test
122+
123+ # vue-tsc + vite build + the initial bundle budget (≤ 500 KB gzip; spec 008).
124+ - name : Build
125+ run : npm run build
126+
72127 python-sdk :
73128 name : psrunner (${{ matrix.os }}, Python ${{ matrix.python }})
74129 strategy :
0 commit comments