Skip to content

Commit

Permalink
Install napari and pyqt with pip for GUI tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
GenevieveBuckley committed Oct 16, 2023
1 parent 65cee54 commit 9177464
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 9177464

Please sign in to comment.