Skip to content

Commit 754f1a7

Browse files
committed
Added virtual framebuffer to ubuntu workflow.
1 parent 66d24cf commit 754f1a7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ubuntu.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424

25+
- name: Install xvfb
26+
run: sudo apt-get install -y xvfb
27+
2528
- name: Install dependencies
2629
run: |
2730
python -m pip install --upgrade pip
@@ -36,4 +39,4 @@ jobs:
3639
3740
- name: Run tests with pytest and coverage
3841
run: |
39-
pytest --cov=drone_base --cov-report=xml
42+
xvfb-run -a pytest --cov=drone_base --cov-report=xml

0 commit comments

Comments
 (0)