mirror of
https://github.com/beekeeper-studio/beekeeper-studio.git
synced 2026-03-13 10:12:54 +08:00
add :serve step
This commit is contained in:
12
.github/workflows/e2e-smoke-test.yml
vendored
12
.github/workflows/e2e-smoke-test.yml
vendored
@@ -48,7 +48,8 @@ jobs:
|
||||
- name: Install Playwright browsers
|
||||
run: yarn playwright install --with-deps chromium
|
||||
|
||||
- name: Build application
|
||||
- name: Build application (Linux)
|
||||
if: runner.os == 'Linux'
|
||||
run: yarn bks:build
|
||||
|
||||
- name: Run E2E smoke test (Linux)
|
||||
@@ -58,9 +59,14 @@ jobs:
|
||||
ELECTRON_ENABLE_LOGGING: 1
|
||||
ELECTRON_DISABLE_SANDBOX: 1
|
||||
|
||||
- name: Run E2E smoke test (macOS/Windows)
|
||||
- name: Serve + Run Tests (macOS/Windows)
|
||||
if: runner.os != 'Linux'
|
||||
run: yarn workspace beekeeper-studio test:e2e e2e/tests/appLaunch.test.ts
|
||||
shell: bash
|
||||
run: |
|
||||
yarn run electron:serve > server.log 2>&1 &
|
||||
sleep 15
|
||||
cat server.log
|
||||
yarn workspace beekeeper-studio test:e2e e2e/tests/appLaunch.test.ts
|
||||
env:
|
||||
ELECTRON_ENABLE_LOGGING: 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user