File tree Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' E2E'
2
+
3
+ concurrency :
4
+ group : e2e-${{ github.ref }}
5
+ cancel-in-progress : true
6
+ on :
7
+ workflow_dispatch :
8
+ push :
9
+ branches : [master]
10
+ pull_request :
11
+ branches : [master]
12
+
13
+ jobs :
14
+ playwright :
15
+ name : E2E Tests
16
+ timeout-minutes : 120
17
+ runs-on : ubuntu-latest
18
+ env :
19
+ STANDALONE_URL : ' file://${{ github.workspace }}/glsp-client/examples/workflow-standalone/app/diagram.html'
20
+ GLSP_SERVER_PORT : ' 8081'
21
+ GLSP_SERVER_PLAYWRIGHT_MANAGED : ' true'
22
+ GLSP_WEBSOCKET_PATH : ' workflow'
23
+ THEIA_URL : ' http://localhost:3000'
24
+ VSCODE_VSIX_ID : ' eclipse-glsp.workflow-vscode-example'
25
+ VSCODE_VSIX_PATH : ' ${{ github.workspace }}/glsp-vscode/example/workflow/extension/workflow-vscode-example-2.3.0-next.vsix'
26
+ GLSP_SERVER_DEBUG : ' true'
27
+
28
+ steps :
29
+ - uses : actions/checkout@v4.1.7
30
+ with :
31
+ path : ' glsp-vscode'
32
+ - uses : actions/checkout@v4.1.7
33
+ with :
34
+ repository : ' eclipse-glsp/glsp-playwright'
35
+ path : ' glsp-playwright'
36
+ - uses : actions/setup-node@v4.0.2
37
+ with :
38
+ node-version : ' 18'
39
+ - uses : actions/setup-python@v5.1.0
40
+ with :
41
+ python-version : ' 3.11'
42
+ - name : Build VSCode Integration
43
+ run : |
44
+ cd glsp-vscode
45
+ yarn
46
+ yarn workflow package
47
+ - name : Build Playwright
48
+ run : |
49
+ cd glsp-playwright
50
+ yarn
51
+ - name : Run Playwright tests
52
+ id : run_playwright_tests
53
+ run : |
54
+ cd glsp-playwright
55
+ yarn test:vscode
56
+ - name : Upload Playwright report
57
+ uses : actions/upload-artifact@v4.3.4
58
+ if : always()
59
+ with :
60
+ name : playwright-report
61
+ path : glsp-playwright/examples/workflow-test/playwright-report/
You can’t perform that action at this time.
0 commit comments