File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 workflow_dispatch :
88 push :
99 branches : [main]
10+ paths-ignore :
11+ - ' **/*.md'
12+ - ' LICENSE'
13+ - ' .vscode/**'
1014 pull_request :
1115 branches : [main]
16+ paths-ignore :
17+ - ' **/*.md'
18+ - ' LICENSE'
19+ - ' .vscode/**'
1220
1321jobs :
1422 build :
Original file line number Diff line number Diff line change 1+ name : ' E2E'
2+
3+ concurrency :
4+ group : playwright-${{ github.ref }}
5+ cancel-in-progress : true
6+ on :
7+ workflow_dispatch :
8+ push :
9+ branches : [main]
10+ paths-ignore :
11+ - ' **/*.md'
12+ - ' LICENSE'
13+ - ' .vscode/**'
14+ pull_request :
15+ branches : [main]
16+ paths-ignore :
17+ - ' **/*.md'
18+ - ' LICENSE'
19+ - ' .vscode/**'
20+
21+ jobs :
22+ playwright :
23+ name : E2E Tests
24+ timeout-minutes : 120
25+ runs-on : ubuntu-latest
26+ env :
27+ GLSP_REPO_DIR : ' ${{ github.workspace }}'
28+ GLSP_SERVER_PORT : ' 8081'
29+ GLSP_WEBSOCKET_PATH : ' workflow'
30+ GLSP_SERVER_DEBUG : ' true'
31+ GLSP_SERVER_TYPE : ' node'
32+
33+ steps :
34+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
35+ with :
36+ path : ' glsp-server-node'
37+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
38+ with :
39+ repository : ' eclipse-glsp/glsp-playwright'
40+ path : ' glsp-playwright'
41+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
42+ with :
43+ repository : ' eclipse-glsp/glsp-client'
44+ path : ' glsp-client'
45+ - uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
46+ with :
47+ node-version : ' 22'
48+ - name : Install dependencies
49+ run : |
50+ cd glsp-client
51+ yarn
52+ cd ../glsp-server-node
53+ yarn
54+ cd ../glsp-playwright
55+ yarn
56+ - name : Run Playwright tests
57+ id : run_playwright_tests
58+ run : |
59+ cd glsp-playwright
60+ yarn test:standalone
61+ - name : Upload Playwright report
62+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
63+ if : always()
64+ with :
65+ name : playwright-report
66+ path : glsp-playwright/examples/workflow-test/playwright-report/
You can’t perform that action at this time.
0 commit comments