Skip to content

Commit

Permalink
test: try fix napari tests (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 authored Oct 4, 2023
1 parent b728334 commit c578b61
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,20 +95,18 @@ jobs:
- uses: tlambert03/[email protected]
- uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.10"
- name: Install
run: |
python -m pip install --upgrade pip
python -m pip install -e .[testing]
python -m pip install ./napari-from-github[pyqt5]
wget https://raw.githubusercontent.com/napari/napari/main/napari/_tests/test_magicgui.py
# remove napari marker
sed '/@pytest.mark.sync_only/d' test_magicgui.py > test_napari.py
python -m pip install -e ./napari-from-github[pyqt5]
- name: Test napari magicgui
uses: aganders3/headless-gui@v1
with:
run: pytest -W ignore test_napari.py -v --color=yes
working-directory: napari-from-github
run: pytest -W ignore napari/_tests/test_magicgui.py -v --color=yes

test_magicclass:
name: magic-class tests
Expand Down

0 comments on commit c578b61

Please sign in to comment.