Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use headless-gui instead of xvfb-action #549

Merged
merged 1 commit into from
Mar 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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