Skip to content

Commit fec6c2e

Browse files
committed
Simplify XVFB usage.
The previous system has been unreliable. I've redone it as my own script which I can continue to update as needed.
1 parent f2bf572 commit fec6c2e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Install APT dependencies
2828
run: |
2929
sudo apt update
30-
sudo apt install libsdl2-dev
30+
sudo apt install libsdl2-dev xvfb
3131
- name: Install Python dependencies
3232
run: |
3333
python -m pip install --upgrade pip
@@ -57,7 +57,6 @@ jobs:
5757
run: |
5858
python setup.py develop # Install the package in-place.
5959
- name: Test with pytest
60-
uses: GabrielBB/xvfb-action@v1
61-
with:
62-
run: pytest --cov-report=xml
60+
run: |
61+
xvfb-run --auto-servernum pytest --cov-report=xml
6362
- uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)