Skip to content

Commit

Permalink
test: add napari-micromanager test (pymmcore-plus#139)
Browse files Browse the repository at this point in the history
* test: add napari-micro test

* ci: fix deps
  • Loading branch information
tlambert03 authored and fdrgsp committed Sep 24, 2023
1 parent c694e46 commit 16c556a
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 @@ -117,6 +117,34 @@ jobs:
run: pytest -v --color=yes -W default
working-directory: pymmcore-widgets-from-github

test_napari_micromanager:
name: Test napari-micromanager
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: pymmcore-plus/napari-micromanager
path: napari-micromanager-from-github

- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e napari-micromanager-from-github[testing,pyqt5]
pip install -e .[test]
- name: Install Micro-Manager
run: mmcore install

- name: Test
run: pytest -v --color=yes -W default
working-directory: napari-micromanager-from-github

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

0 comments on commit 16c556a

Please sign in to comment.