File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ name : E2E (Playwright)
2+
3+ on :
4+ push :
5+ branches : [ main, develop, release/** ]
6+ pull_request :
7+
8+ jobs :
9+ e2e-playwright :
10+ name : Node E2E (Playwright)
11+ runs-on : ubuntu-latest
12+ timeout-minutes : 20
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : Setup Node.js
17+ uses : actions/setup-node@v4
18+ with :
19+ node-version : ' 18'
20+
21+ - name : Setup Python
22+ uses : actions/setup-python@v5
23+ with :
24+ python-version : ' 3.12'
25+
26+ - name : Upgrade pip and install Python deps (app + dev)
27+ run : |
28+ python -m pip install --upgrade pip
29+ pip install -e .[dev]
30+
31+ - name : Install Node deps
32+ run : npm ci
33+
34+ - name : Install Playwright browsers
35+ run : npx playwright install --with-deps
36+
37+ - name : Run Playwright E2E smoke
38+ env :
39+ SCIDK_PROVIDERS : local_fs
40+ run : npm run e2e
41+
42+ - name : Upload Playwright report (on failure)
43+ if : failure()
44+ uses : actions/upload-artifact@v4
45+ with :
46+ name : playwright-report
47+ path : |
48+ playwright-report/
49+ test-results/
50+ if-no-files-found : ignore
You can’t perform that action at this time.
0 commit comments