Fix napari test (#295)

* move napari to src

* use importlib import for new test
This commit is contained in:
Lorenzo Gaifas
2025-06-02 22:25:36 +02:00
committed by GitHub
parent 358d041c0d
commit 935025eacc

View File

@@ -87,7 +87,7 @@ jobs:
uses: pyapp-kit/workflows/.github/workflows/upload-coverage.yml@v2
secrets: inherit
test_napari:
test_napari_old:
uses: pyapp-kit/workflows/.github/workflows/test-dependents.yml@v2
with:
dependency-repo: napari/napari
@@ -100,7 +100,23 @@ jobs:
strategy:
fail-fast: false
matrix:
napari-version: ["", "v0.4.19.post1"]
napari-version: ["v0.4.19.post1"]
qt: ["pyqt5", "pyside2"]
test_napari:
uses: pyapp-kit/workflows/.github/workflows/test-dependents.yml@v2
with:
dependency-repo: napari/napari
dependency-ref: ${{ matrix.napari-version }}
dependency-extras: "testing"
qt: ${{ matrix.qt }}
pytest-args: 'src/napari/_qt --import-mode=importlib -k "not async and not qt_dims_2 and not qt_viewer_console_focus and not keybinding_editor and not preferences_dialog_not_dismissed"'
python-version: "3.10"
post-install-cmd: "pip install lxml_html_clean"
strategy:
fail-fast: false
matrix:
napari-version: [ "" ]
qt: [ "pyqt5", "pyside2" ]
check-manifest: