Skip to content

Commit 7e8aebd

Browse files
authored
Fix e2e workflows (#512)
Fix e2e workflows and add path ignores for metadata only changes
1 parent ac610d7 commit 7e8aebd

2 files changed

Lines changed: 24 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,16 @@ on:
77
workflow_dispatch:
88
push:
99
branches: [master]
10+
paths-ignore:
11+
- '**/*.md'
12+
- 'LICENSE'
13+
- '.vscode/**'
1014
pull_request:
1115
branches: [master]
16+
paths-ignore:
17+
- '**/*.md'
18+
- 'LICENSE'
19+
- '.vscode/**'
1220

1321
jobs:
1422
build:

.github/workflows/e2e.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,26 @@ on:
77
workflow_dispatch:
88
push:
99
branches: [master]
10+
paths-ignore:
11+
- '**/*.md'
12+
- 'LICENSE'
13+
- '.vscode/**'
1014
pull_request:
1115
branches: [master]
16+
paths-ignore:
17+
- '**/*.md'
18+
- 'LICENSE'
19+
- '.vscode/**'
1220

1321
jobs:
1422
playwright:
1523
name: E2E Tests
1624
timeout-minutes: 120
1725
runs-on: ubuntu-latest
1826
env:
19-
STANDALONE_URL: 'file://${{ github.workspace }}/glsp-client/examples/workflow-standalone/app/diagram.html'
27+
GLSP_REPO_DIR: '${{ github.workspace }}'
2028
GLSP_SERVER_PORT: '8081'
21-
GLSP_MCP_SERVER_PORT: '64577'
22-
GLSP_SERVER_PLAYWRIGHT_MANAGED: 'true'
2329
GLSP_WEBSOCKET_PATH: 'workflow'
24-
THEIA_URL: 'http://localhost:3000'
25-
VSCODE_VSIX_ID: 'eclipse-glsp.workflow-vscode-example'
26-
VSCODE_VSIX_PATH: '${{ github.workspace }}/.../vscode-example-2.3.0-next.vsix'
2730
GLSP_SERVER_DEBUG: 'true'
2831
GLSP_SERVER_TYPE: 'node'
2932

@@ -35,21 +38,26 @@ jobs:
3538
with:
3639
repository: 'eclipse-glsp/glsp-playwright'
3740
path: 'glsp-playwright'
41+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
42+
with:
43+
repository: 'eclipse-glsp/glsp-server-node'
44+
path: 'glsp-server-node'
3845
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
3946
with:
4047
node-version: '22'
4148
- name: Install dependencies
4249
run: |
4350
cd glsp-client
4451
yarn
45-
yarn bundle
52+
cd ../glsp-server-node
53+
yarn
4654
cd ../glsp-playwright
4755
yarn
4856
- name: Run Playwright tests
4957
id: run_playwright_tests
5058
run: |
5159
cd glsp-playwright
52-
yarn test:standalone
60+
yarn test
5361
- name: Upload Playwright report
5462
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5563
if: always()

0 commit comments

Comments
 (0)