Skip to content

Commit

Permalink
Add test to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bentaculum committed Jun 4, 2024
1 parent 7ad5ab8 commit 33b468e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/napari_trackastra/_tests/demo_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
from trackastra.data import example_data_bacteria

from napari_trackastra._widget import Tracker
from trackastra.data import example_data_bacteria


def demo_widget():
def test_demo_widget():
viewer = napari.Viewer()
img, mask = example_data_bacteria()
viewer.add_image(img)
Expand All @@ -15,6 +14,4 @@ def demo_widget():


if __name__ == "__main__":
demo_widget()

napari.run()
test_demo_widget()

0 comments on commit 33b468e

Please sign in to comment.