Skip to content

Commit

Permalink
tests: add test for stardist (#501)
Browse files Browse the repository at this point in the history
* tests: add test for stardist

* test: try again
  • Loading branch information
tlambert03 committed Nov 13, 2022
1 parent 14d82dc commit 3c0c49b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,34 @@ jobs:
working-directory: magic-class
run: pytest -v --color=yes

test_stardist:
name: stardist tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
repository: stardist/stardist-napari
path: stardist-napari
- uses: tlambert03/setup-qt-libs@v1
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install
run: |
python -m pip install --upgrade pip
python -m pip install -e .[testing]
python -m pip install ./stardist-napari[test]
- name: Run stardist tests
uses: GabrielBB/xvfb-action@v1
with:
working-directory: stardist-napari
run: python -m pytest -v --color=yes -W ignore stardist_napari
env:
STARDIST_NAPARI_NOTHREADS: true
STARDIST_NAPARI_NOPERSIST: true

deploy:
needs: test
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3c0c49b

Please sign in to comment.