Skip to content

Commit ed015e0

Browse files
committed
github workflow: Only run GUI tests on Windows and MacOS
They segfault on Ubuntu
1 parent e18a74b commit ed015e0

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/testing.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@ jobs:
3434
shell: pwsh
3535
run: uv sync --extra gui
3636

37-
- name: Test with pytest
37+
- name: Test with pytest, no GUI tests
3838
shell: pwsh
3939
run: |
40-
uv run pytest -v -rs tests
40+
uv run pytest -v -rs --ignore=tests/test_gui tests
41+
42+
- name: Test with pytest, GUI tests only
43+
shell: pwsh
44+
if: "${{ matrix.os != 'ubuntu' }}" # these segfault on Ubuntu
45+
run: |
46+
uv run pytest -v -rs tests/test_gui

0 commit comments

Comments
 (0)