chore: add fluxbox to desktop build

This commit is contained in:
Konstantinos Kaloutas
2023-05-30 10:18:43 +03:00
parent 2cfa46cecb
commit 562fd739b0

View File

@@ -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"