Skip to content

Commit

Permalink
fix: Fix tests of napari widgets (#862)
Browse files Browse the repository at this point in the history
  • Loading branch information
Czaki committed Dec 27, 2022
1 parent 2c96907 commit 50b510a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/base_test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -r requirements/requirements_dev.txt tox-gh-actions>=2.12.0
pip list
- name: Test with tox
uses: GabrielBB/xvfb-action@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_napari_widgets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- master
- develop
- main
- bugfix/fix_napari_widgets_tests
pull_request:
branches:
- '**'
Expand Down
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py{38,39,310}-{PyQt5, PySide2}-all, py{38,39,310}-{PyQt5,PySide2}-napari-{414,415,416,417,repo}
envlist = py{38,39,310}-{PyQt5, PySide2}-all, py{38,39,310}-{PyQt5,PySide2}-napari_{414,415,416,417,repo}
toxworkdir=/tmp/tox

[gh-actions]
Expand All @@ -17,11 +17,11 @@ fail_on_no_env = True
[gh-actions:env]
NAPARI =
latest: all
napari414: 414
napari415: 415
napari416: 416
napari417: 417
repo: repo
napari414: napari_414
napari415: napari_415
napari416: napari_416
napari417: napari_417
repo: napari_repo
BACKEND =
pyqt: PyQt5
pyside: PySide2
Expand Down Expand Up @@ -61,7 +61,7 @@ conda_env=environment.yml
deps=
pytest

[testenv:py{38,39,310}-{PyQt5,PySide2}-napari-{414,415,416,417,repo}]
[testenv:py{38,39,310}-{PyQt5,PySide2}-napari_{414,415,416,417,repo}]
deps =
{[base]deps}
414: napari==0.4.14
Expand Down

0 comments on commit 50b510a

Please sign in to comment.