From 917746408fc7aa5e35e629d3857a35aef0c21325 Mon Sep 17 00:00:00 2001 From: Genevieve Buckley <30920819+GenevieveBuckley@users.noreply.github.com> Date: Mon, 16 Oct 2023 13:05:02 +1100 Subject: [PATCH] Install napari and pyqt with pip for GUI tests in CI --- .github/workflows/test.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index fc903b5c..0f647911 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -34,19 +34,22 @@ jobs: # Setup Qt libraries for GUI testing - uses: tlambert03/setup-qt-libs@v1 + - name: Install napari and pyqt for GUI tests + shell: bash -l {0} + run: pip install "napari[all]" + - name: Install pytest shell: bash -l {0} run: | python -m pip install pytest python -m pip install pytest-cov + python -m pip install pytest-qt - name: Install package uses: aganders3/headless-gui@v1 with: shell: bash -l {0} - run: | - mamba install napari pyqt -c conda-forge - pip install --no-deps -e . + run: pip install --no-deps -e . - name: Run tests shell: bash -l {0}