Skip to content

Commit

Permalink
try and handle xwindow display issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sbillinge committed Jul 25, 2024
1 parent 88e5841 commit aa904b5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,19 @@ jobs:
conda install --file requirements/run.txt
conda install --file requirements/test.txt
pip install .
- name: Start Xvfb
run: |
sudo apt-get update
sudo apt-get install -y xvfb
Xvfb :99 -screen 0 1024x768x16 &
export DISPLAY=:99
- name: Validate diffpy.pdfgui
shell: bash -l {0}
run: |
conda activate test
export DISPLAY=:99
coverage run -m pytest -vv -s
coverage report -m
codecov

0 comments on commit aa904b5

Please sign in to comment.