Try to fix xvfb display

This commit is contained in:
Veronica K. B. Olsen
2020-09-21 22:10:22 +02:00
parent de3b35fa6d
commit 24e336cd77
+4 -1
View File
@@ -32,7 +32,10 @@ jobs:
pip install pytest-qt
pip install codecov
- name: Run Tests
run: xvfb-run pytest -v --cov=nw --timeout=60
run: |
export DISPLAY=':99.0'
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
xvfb-run pytest -v --cov=nw --timeout=60
- name: Upload to Codecov
uses: codecov/codecov-action@v1