diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 119b60784..86a25a443 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -95,20 +95,18 @@ jobs: - uses: tlambert03/setup-qt-libs@v1.5 - 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