From 919f239ccbdc515bed0fbfe19e26bc7937f4ee67 Mon Sep 17 00:00:00 2001 From: Simon Billinge Date: Thu, 25 Jul 2024 13:41:54 -0400 Subject: [PATCH] try using xfvb action --- .github/workflows/main.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d31f5460..8bc6619d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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