Skip to content

Commit

Permalink
install libgl1 and run "python -m pytest" on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
jborbely committed Aug 4, 2022
1 parent 70612f2 commit 0ee9c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
if: ${{ matrix.os == 'ubuntu' }}
run: |
sudo apt-get update
sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils libgl1-mesa-glx libgl1-mesa-dev
sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils libgl1 libgl1-mesa-glx libgl1-mesa-dev
/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: Install dependencies
run: |
Expand All @@ -56,7 +56,7 @@ jobs:
if: ${{ matrix.os == 'ubuntu' }}
run: |
python -c "from msl import qt; print(qt.binding)"
xvfb-run `which python` -m pytest
python -m pytest
- name: Run tests (non Ubuntu)
if: ${{ matrix.os != 'ubuntu' }}
run: |
Expand Down

0 comments on commit 0ee9c8c

Please sign in to comment.