Try to fix xvfb display
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user