Skip to content

Commit

Permalink
refactor: update GitHub actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
sdoose committed Jul 14, 2023
1 parent e51d730 commit c8d728b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:

# these libraries enable testing on Qt on linux
- uses: tlambert03/setup-qt-libs@v1
- uses: GabrielBB/xvfb-action@v1
- uses: coactions/setup-xvfb@v1

- name: "Install napari-locan and dependencies"
run: |
python -m pip install .[test]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test_matrix_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
name: ${{ matrix.platform }} py${{ matrix.python-version }}
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10"]
Expand All @@ -28,6 +29,7 @@ jobs:

# these libraries enable testing on Qt on linux
- uses: tlambert03/setup-qt-libs@v1
- uses: coactions/setup-xvfb@v1

# strategy borrowed from vispy for installing opengl libs on windows
- name: Install Windows OpenGL
Expand Down
2 changes: 2 additions & 0 deletions src/napari_locan/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
"""
napari-locan should be used as napari plugin.
"""
from __future__ import annotations

from ._sample_data import (
make_image_npc,
make_image_tubulin,
Expand Down

0 comments on commit c8d728b

Please sign in to comment.