Skip to content

Commit ec3e6c8

Browse files
Set DISPLAY in github actions
1 parent fc12ae8 commit ec3e6c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/pr-check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,12 @@ jobs:
9393
- name: Start xvfb on Linux
9494
run: |
9595
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
96+
echo "DISPLAY=:99" >> $GITHUB_ENV
9697
echo ">>> Started xvfb"
9798
if: ${{ runner.os }} == 'Linux'
9899

99100
- name: Run tests
100101
run: python -m nox --session tests
101102
shell: bash
103+
env:
104+
DISPLAY: ${{ env.DISPLAY }}

0 commit comments

Comments
 (0)