Skip to content

Commit b9869e0

Browse files
authored
Make workflow use xvfb
1 parent f3fa9ec commit b9869e0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/python-app.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
env:
77
OS: ubuntu-latest
88
PYTHON: '3.6.8'
9+
DISPLAY: :0
910
steps:
1011
- name: Checkout
1112
uses: actions/checkout@v2.3.4
@@ -16,6 +17,7 @@ jobs:
1617
- name: Generate Report
1718
run: |
1819
pip install -r requirements.txt
19-
coverage run -m unittest
20+
sudo apt-get install xvfb
21+
xvfb-run --auto-servernum coverage run -m unittest
2022
- name: Codecov
2123
uses: codecov/codecov-action@v1.5.2

0 commit comments

Comments
 (0)