Skip to content

Commit

Permalink
chore: add fluxbox to desktop build
Browse files Browse the repository at this point in the history
  • Loading branch information
sprocketc committed May 30, 2023
1 parent 2cfa46c commit 562fd73
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build-desktop-release.yml
Expand Up @@ -204,8 +204,19 @@ jobs:
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true

- name: Install Fluxbox
run: sudo apt-get update && sudo apt-get install -y fluxbox

# Emulate a virtual framebuffer on machines with no display hardware
- name: Run XVFB
run: Xvfb :1 -screen 0 1024x768x24 >/dev/null 2>&1 &

# Start a lightweight window manager to simulate window actions (maximize,restore etc)
- name: Start Fluxbox
run: DISPLAY=:1.0 fluxbox >/dev/null 2>&1 &

- name: Run Playwright test
run: xvfb-run -- npx playwright test --reporter github --shard=${{ matrix.shard }}/3
run: DISPLAY=:1.0 npx playwright test --reporter github --shard=${{ matrix.shard }}/3
env:
LOGSEQ_CI: true
DEBUG: "pw:api"
Expand Down

0 comments on commit 562fd73

Please sign in to comment.