Skip to content

Commit

Permalink
add xvfb
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinepouille committed Nov 18, 2024
1 parent 2d2d236 commit 2b2286a
Showing 1 changed file with 3 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 @@ -211,7 +211,7 @@ jobs:
run: |
npm ci
sudo apt-get update
sudo apt-get install lighttpd
sudo apt-get install lighttpd xvfb
sudo npm install -D @playwright/test@latest
npm install --save-dev @types/node @types/yauzl
- name: Install Playwright Browsers
Expand Down Expand Up @@ -243,8 +243,9 @@ jobs:
pwd
ls -R
ls -R /home/runner/work/
Xvfb&
- name: Run Playwright tests
run: DEBUG=pw:browser* npx playwright test --retries=3 --trace retain-on-first-failure --project electron
run: DEBUG=pw:browser* xvfb-run npx playwright test --retries=3 --trace retain-on-first-failure --project electron
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
Expand Down

0 comments on commit 2b2286a

Please sign in to comment.