Skip to content

Commit

Permalink
Skip java test for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tortmayr committed Jul 24, 2024
1 parent 625bc1f commit 1d3f7d7
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,11 @@ jobs:
if: ${{ always() }}
uses: actions/upload-artifact@v4.3.4
with:
name: playwright-report
name: playwright-report-node
path: examples/workflow-test/playwright-report/

playwright-java:
if: false
name: Playwright Tests (Java server)
timeout-minutes: 120
runs-on: ubuntu-latest
Expand Down Expand Up @@ -125,5 +126,5 @@ jobs:
if: ${{ always() }}
uses: actions/upload-artifact@v4.3.4
with:
name: playwright-report
name: playwright-report-java
path: examples/workflow-test/playwright-report/
54 changes: 54 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: E2E Playwright Tests (Multi OS)

concurrency:
group: e2e-${{ github.ref }}
cancel-in-progress: true

on:
workflow_dispatch:
pull_request:
branches: [main]
schedule:
- cron: '20 18 * * 1'

jobs:
playwright-node:
name: E2E Playwright (Node)
strategy:
fail-fast: false
matrix:
os: [windows-2019, ubuntu-latest, macos-14]
timeout-minutes: 120
runs-on: ${{ matrix.os }}
env:
THEIA_URL: 'http://localhost:3000'
VSCODE_VSIX_ID: 'eclipse-glsp.workflow-vscode-example'
GLSP_SERVER_DEBUG: 'true'
GLSP_SERVER_PORT: '8081'
GLSP_SERVER_PLAYWRIGHT_MANAGED: 'true'
GLSP_WEBSOCKET_PATH: 'workflow'
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/setup-node@v4.0.2
with:
node-version: '18'
- name: Install dependencies
run: yarn install
- name: Prepare repos
run: yarn repo prepare --protocol https
- name: Set Environment Variables
run: |
echo "STANDALONE_URL=$(yarn -s repo client url)" >> $GITHUB_ENV
echo "VSCODE_VSIX_PATH=$(yarn -s repo vscode-integration vsixPath)" >> $GITHUB_ENV
echo "GLSP_SERVER_START_COMMAND=yarn repo node-server start" >> $GITHUB_ENV
- name: Start theia
run: yarn repo theia-integration start &
- name: Run Playwright tests
id: run_playwright_tests
run: xvfb-run -a yarn test
- name: Upload Playwright report
if: ${{ always() }}
uses: actions/upload-artifact@v4.3.4
with:
name: playwright-report-node-${{ matrix.os }}
path: examples/workflow-test/playwright-report/

0 comments on commit 1d3f7d7

Please sign in to comment.