Skip to content

Commit

Permalink
try using xfvb action
Browse files Browse the repository at this point in the history
  • Loading branch information
sbillinge committed Jul 25, 2024
1 parent aa904b5 commit 919f239
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,13 @@ jobs:
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: Use Xvfb Action
uses: GabrielBB/xvfb-action@v1

- 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 919f239

Please sign in to comment.