From 9bf74d6bc141924d0e12250b8550495c5cdfc40a Mon Sep 17 00:00:00 2001 From: "Maarten A. Breddels" <maartenbreddels@gmail.com> Date: Thu, 12 Sep 2024 13:54:09 +0200 Subject: [PATCH] ci: setup system for qt --- .github/workflows/standalone.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/standalone.yml b/.github/workflows/standalone.yml index d6419c559e..7307446bba 100644 --- a/.github/workflows/standalone.yml +++ b/.github/workflows/standalone.yml @@ -31,6 +31,19 @@ jobs: with: python-version: "3.11" + - uses: ConorMacBride/install-package@v1 + with: + # mirrored from glue-qt + # https://github.com/glue-viz/glue-qt/blob/main/.github/workflows/ci_workflows.yml + # using + # https://github.com/OpenAstronomy/github-actions-workflows/blob/5edb24fa432c75c0ca723ddea8ea14b72582919d/.github/workflows/tox.yml#L175C15-L175C49 + # Linux PyQt 5.15 and 6.x installations require apt-getting xcb and EGL deps + # and headless X11 display; + apt: '^libxcb.*-dev libxkbcommon-x11-dev libegl1-mesa libopenblas-dev libhdf5-dev' + + - name: Setup headless display + uses: pyvista/setup-headless-display-action@v2 + - name: Install jdaviz run: pip install .[test,qt]