Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use workflow for test napari compatibility #322

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 1 addition & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,29 +61,7 @@ jobs:

test_napari:
name: napari tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: napari/napari
path: napari-from-github
fetch-depth: 0

- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install
run: |
python -m pip install --upgrade pip
python -m pip install -e ./napari-from-github -c "./napari-from-github/resources/constraints/constraints_py3.10.txt"
python -m pip install -e .[json]
# bare minimum required to test napari/plugins
python -m pip install pytest pytest-pretty scikit-image[data] zarr xarray hypothesis matplotlib

- name: Run napari plugin headless tests
run: pytest -W 'ignore::DeprecationWarning' napari/plugins napari/settings napari/layers napari/components
working-directory: napari-from-github
uses: czaki/napari/.github/workflows/test_external_package_workflow.yml@feature/test_against_napari

test_docs_render:
name: docs render
Expand Down
Loading