Skip to content

Commit

Permalink
feat: add ci tests for pymmcore_widgets (#106)
Browse files Browse the repository at this point in the history
* feat: add ci test_pymmcore_widgets

* fix: ci

* fix: ci

* fix: ci

* fix: revert

* Update .github/workflows/test_and_deploy.yml

* Update .github/workflows/test_and_deploy.yml

---------

Co-authored-by: Talley Lambert <[email protected]>
  • Loading branch information
fdrgsp and tlambert03 authored Jul 21, 2023
1 parent 1205e9f commit f0dcb56
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 @@ -77,6 +77,34 @@ jobs:
run: pytest -v --color=yes
working-directory: pymmcore-plus-from-github

test_pymmcore_widgets:
name: Test pymmcore-widgets
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
repository: pymmcore-plus/pymmcore-widgets
path: pymmcore-widgets-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 pymmcore-widgets-from-github[test,image,pyqt6]
pip install -e .[test]
- name: Install Micro-Manager
run: mmcore install

- name: Test
run: pytest -v --color=yes -W ignore
working-directory: pymmcore-widgets-from-github


deploy:
needs: test
Expand Down

0 comments on commit f0dcb56

Please sign in to comment.