Skip to content

Commit

Permalink
Install Qt dependencies in the CI environment
Browse files Browse the repository at this point in the history
  • Loading branch information
gbolmier committed May 21, 2024
1 parent 4f7599c commit a11152c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/actions/install-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,10 @@ runs:
shell: bash
if: ${{ inputs.build-root == 'true' }}
run: poetry install --no-interaction --no-ansi

- name: Install Qt dependencies
# See https://pytest-qt.readthedocs.io/en/latest/troubleshooting.html#github-actions-azure-pipelines-travis-ci-and-gitlab-ci-cd
shell: bash
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
2 changes: 2 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
matrix:
os: [ubuntu-latest]
python-version: ["3.12", "3.11", "3.10"]
env:
DISPLAY: ':99.0'

runs-on: ${{ matrix.os }}

Expand Down

0 comments on commit a11152c

Please sign in to comment.