diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea46900d..016b9c72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -119,43 +119,15 @@ jobs: uses: codecov/codecov-action@v3 test_napari: - name: napari (${{ matrix.napari-version }}, ${{ matrix.qt-backend }}) - runs-on: ubuntu-latest + name: napari strategy: + fail-fast: false matrix: - napari-version: [""] # "" is HEAD - qt-backend: [pyqt5, pyside2] - - steps: - - uses: actions/checkout@v4 - with: - path: app-model - - - uses: actions/checkout@v4 - with: - repository: napari/napari - path: napari - fetch-depth: 0 - ref: ${{ matrix.napari-version }} - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: "3.10" - - - uses: tlambert03/setup-qt-libs@v1 - - - name: Install dependencies - run: | - python -m pip install -U pip - python -m pip install -e app-model - python -m pip install -e napari[testing,${{ matrix.qt-backend }}] - - - name: Test - uses: aganders3/headless-gui@v1 - with: - working-directory: napari - run: python -m pytest napari/_qt napari/_app_model --color=yes -x + backend: [pyqt5, pyside2, pyqt6] + uses: czaki/napari/.github/workflows/test_external_package_workflow.yml@feature/test_against_napari + with: + backend: ${{ matrix.backend }} + pytest_path: "napari/_qt napari/_app_model -W ignore -k 'not test_notification and not playing_after_ndisplay_changes'" deploy: name: Deploy