Files
orca/.github/workflows/e2e.yml
T

31 lines
1.2 KiB
YAML

name: Docker SSH reconnect existing fix validation
on:
workflow_dispatch:
permissions:
contents: read
jobs:
ssh:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install headless tools
run: sudo apt-get update && sudo apt-get install -y build-essential openssh-client python3 ripgrep xvfb zsh openbox x11-utils
- uses: ./.github/actions/install-node-dependencies
with:
native-runtime: electron
- name: Build relay and Electron
run: |
pnpm run build:relay
pnpm exec electron-vite build --mode e2e
- name: Run existing relay performance scenarios
run: xvfb-run --auto-servernum bash .github/scripts/e2e-with-window-manager.sh env SKIP_BUILD=1 ORCA_E2E_SSH_DOCKER=1 ORCA_E2E_FORWARD_APP_LOGS=1 pnpm exec playwright test --config tests/playwright.config.ts tests/e2e/ssh-docker-relay-perf.spec.ts --project=electron-headless --workers=1 --repeat-each=5 --grep "after disconnect and reconnect"
- uses: actions/upload-artifact@v7
if: always()
with:
name: relay-reconnect-fix-traces
path: test-results/
retention-days: 3