Skip to content

Commit

Permalink
Use correct os
Browse files Browse the repository at this point in the history
  • Loading branch information
foarsitter committed Dec 19, 2023
1 parent 9d3dd3c commit 6016a6c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ name: Test
on: [push]

jobs:
tests:
runs-on: ubuntu-latest
run:
name: Python ${{ matrix.python-version }} on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
Expand All @@ -23,6 +24,8 @@ jobs:
run: |
pipx install poetry
poetry --version
- if: runner.os == 'Linux'
run: |
sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils
/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
Expand Down

0 comments on commit 6016a6c

Please sign in to comment.