From 41aa61630f346052bda3502b6c649cbb2901e671 Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Tue, 2 Jun 2026 16:19:53 -0600 Subject: [PATCH] Use extra names in the testing matrix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the information in pyproject.toml to determine the dependencies, the same way a user would when installing the package. Co-authored-by: Clément Robert <14075922+neutrinoceros@users.noreply.github.com> --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a4291c3..9de7653 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,9 +14,9 @@ jobs: - "3.14" - "3.13" - "3.12" - pyqt-dependency: - - "PyQt6" - - "PySide6" + qt-extra: + - "PyQt" + - "PySide" steps: - uses: "actions/checkout@v3" @@ -30,7 +30,7 @@ jobs: run: | # Project dependencies + test dependencies from pyproject.toml # NOTE: Also builds viscm. How do we avoid this? - pip install --group dev . ${{ matrix.pyqt-dependency }} + pip install --group dev .[${{ matrix.qt-extra }}] # pytest-qt CI dependencies: https://pytest-qt.readthedocs.io/en/latest/troubleshooting.html#github-actions sudo apt update