Skip to content

Commit

Permalink
Testing xvfb with new action
Browse files Browse the repository at this point in the history
  • Loading branch information
hakonhagland committed Jul 22, 2023
1 parent c95c4ae commit fa9f4d1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true # cancel other jobs immediately if this one fails
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10"]
Expand All @@ -22,10 +23,6 @@ jobs:
- name: install packages
uses: tlambert03/setup-qt-libs@v1

- name: start xvfb deamon
run: |
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX
- name: Update PATH macos
if: startsWith(matrix.os, 'macos')
run: echo "/Users/runner/.local/bin" >> $GITHUB_PATH
Expand All @@ -48,5 +45,7 @@ jobs:
# poetry run python -m pytest

- name: Run unit tests
run: |
uses: aganders3/headless-gui@v1
with:
run: |
poetry run python -m pytest

0 comments on commit fa9f4d1

Please sign in to comment.