Skip to content

Commit

Permalink
Install additional dependencies in workflow to support pyqtgraph
Browse files Browse the repository at this point in the history
  • Loading branch information
tjstienstra committed Jan 30, 2024
1 parent cd7008d commit 104b0f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: poetry install --with test --all-extras
# https://pytest-qt.readthedocs.io/en/latest/troubleshooting.html#github-actions
- name: Install pyqtgraph dependencies
run: |
sudo apt-get update
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
- name: Run tests
run: poetry run pytest

Expand Down

0 comments on commit 104b0f0

Please sign in to comment.