Skip to content

Commit f97bba5

Browse files
Add xvfb for linux tests (#26)
1 parent d064e28 commit f97bba5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/push-check.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,13 @@ jobs:
9595
run: python -m pip install -U pip pipx wheel
9696
shell: bash
9797

98+
- name: Start xvfb on Linux
99+
run: |
100+
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
101+
echo "DISPLAY=:99" >> $GITHUB_ENV
102+
echo ">>> Started xvfb"
103+
if: ${{ runner.os }} == 'Linux'
104+
98105
- name: Run tests
99106
run: pipx run nox --session tests
100107
shell: bash

0 commit comments

Comments
 (0)