Skip to content

Commit

Permalink
Add xvfb for linux tests (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulacamargo25 committed Jun 15, 2023
1 parent d064e28 commit f97bba5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/push-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ jobs:
run: python -m pip install -U pip pipx wheel
shell: bash

- name: Start xvfb on Linux
run: |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
echo "DISPLAY=:99" >> $GITHUB_ENV
echo ">>> Started xvfb"
if: ${{ runner.os }} == 'Linux'

- name: Run tests
run: pipx run nox --session tests
shell: bash

0 comments on commit f97bba5

Please sign in to comment.