Skip to content

Commit

Permalink
ci: use headless-gui (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Mar 26, 2023
1 parent 6f5b8b2 commit c09b98d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: python -m pip install --upgrade hatch

- name: Test
uses: GabrielBB/xvfb-action@v1
uses: aganders3/headless-gui@v1
with:
run: hatch -v run +backend=${{ matrix.backend }} test:run

Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
sed '/@pytest.mark.sync_only/d' test_magicgui.py > test_napari.py
- name: Test napari magicgui
uses: GabrielBB/xvfb-action@v1
uses: aganders3/headless-gui@v1
with:
run: pytest -W ignore test_napari.py -v --color=yes

Expand All @@ -105,7 +105,7 @@ jobs:
python -m pip install ./magic-class
- name: Test magicclass
uses: GabrielBB/xvfb-action@v1
uses: aganders3/headless-gui@v1
# magicclass is still in development, don't fail the whole build
# this makes this much less useful... but it's better than nothing?
continue-on-error: true
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
python -m pip install ./stardist-napari[test]
- name: Run stardist tests
uses: GabrielBB/xvfb-action@v1
uses: aganders3/headless-gui@v1
with:
working-directory: stardist-napari
run: python -m pytest -v --color=yes -W ignore stardist_napari
Expand All @@ -160,7 +160,7 @@ jobs:
python -m pip install ./PartSeg[test,pyqt5]
- name: Run PartSeg tests
uses: GabrielBB/xvfb-action@v1
uses: aganders3/headless-gui@v1
with:
working-directory: PartSeg
run: python -m pytest -v --color=yes -W ignore package/tests/test_PartSeg/test_napari_widgets.py
Expand Down

0 comments on commit c09b98d

Please sign in to comment.