Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,16 @@ on:
workflow_dispatch:
push:
branches: [master]
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '.vscode/**'
pull_request:
branches: [master]
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '.vscode/**'

jobs:
build:
Expand Down
24 changes: 16 additions & 8 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,26 @@ on:
workflow_dispatch:
push:
branches: [master]
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '.vscode/**'
pull_request:
branches: [master]
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '.vscode/**'

jobs:
playwright:
name: E2E Tests
timeout-minutes: 120
runs-on: ubuntu-latest
env:
STANDALONE_URL: 'file://${{ github.workspace }}/glsp-client/examples/workflow-standalone/app/diagram.html'
GLSP_REPO_DIR: '${{ github.workspace }}'
GLSP_SERVER_PORT: '8081'
GLSP_MCP_SERVER_PORT: '64577'
GLSP_SERVER_PLAYWRIGHT_MANAGED: 'true'
GLSP_WEBSOCKET_PATH: 'workflow'
THEIA_URL: 'http://localhost:3000'
VSCODE_VSIX_ID: 'eclipse-glsp.workflow-vscode-example'
VSCODE_VSIX_PATH: '${{ github.workspace }}/.../vscode-example-2.3.0-next.vsix'
GLSP_SERVER_DEBUG: 'true'
GLSP_SERVER_TYPE: 'node'

Expand All @@ -35,21 +38,26 @@ jobs:
with:
repository: 'eclipse-glsp/glsp-playwright'
path: 'glsp-playwright'
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
repository: 'eclipse-glsp/glsp-server-node'
path: 'glsp-server-node'
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: '22'
- name: Install dependencies
run: |
cd glsp-client
yarn
yarn bundle
cd ../glsp-server-node
yarn
cd ../glsp-playwright
yarn
- name: Run Playwright tests
id: run_playwright_tests
run: |
cd glsp-playwright
yarn test:standalone
yarn test
- name: Upload Playwright report
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: always()
Expand Down
Loading