Skip to content

Commit df85cfb

Browse files
committed
try Xvfb
1 parent 5108e9c commit df85cfb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/main.yml

+9
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,18 @@ jobs:
4646
conda install --file requirements/test.txt
4747
pip install .
4848
49+
- name: Install Xvfb
50+
run: sudo apt-get install -y xvfb
51+
52+
- name: Start Xvfb
53+
run: |
54+
export DISPLAY=:99
55+
Xvfb :99 -screen 0 1024x768x16 &
56+
4957
- name: Validate diffpy.pdfgui
5058
shell: bash -l {0}
5159
run: |
60+
export DISPLAY=:99
5261
conda activate test
5362
coverage run -m unittest run_tests.py
5463
coverage report -m

0 commit comments

Comments
 (0)