-
Notifications
You must be signed in to change notification settings - Fork 17
66 lines (63 loc) · 1.79 KB
/
e2e.yml
File metadata and controls
66 lines (63 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: 'E2E'
concurrency:
group: playwright-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
branches: [main]
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '.vscode/**'
pull_request:
branches: [main]
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '.vscode/**'
jobs:
playwright:
name: E2E Tests
timeout-minutes: 120
runs-on: ubuntu-latest
env:
GLSP_REPO_DIR: '${{ github.workspace }}'
GLSP_SERVER_PORT: '8081'
GLSP_WEBSOCKET_PATH: 'workflow'
GLSP_SERVER_DEBUG: 'true'
GLSP_SERVER_TYPE: 'node'
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
path: 'glsp-server-node'
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
repository: 'eclipse-glsp/glsp-playwright'
path: 'glsp-playwright'
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
repository: 'eclipse-glsp/glsp-client'
path: 'glsp-client'
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
node-version: '22'
- name: Install dependencies
run: |
cd glsp-client
yarn
cd ../glsp-server-node
yarn
cd ../glsp-playwright
yarn
- name: Run Playwright tests
id: run_playwright_tests
run: |
cd glsp-playwright
yarn test:standalone
- name: Upload Playwright report
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: always()
with:
name: playwright-report
path: glsp-playwright/examples/workflow-test/playwright-report/