File tree Expand file tree Collapse file tree 3 files changed +17
-13
lines changed Expand file tree Collapse file tree 3 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -49,19 +49,19 @@ jobs:
49
49
timeout-minutes : 15
50
50
if : ${{ !startsWith( matrix.python-version, 'pypy' ) && !startsWith(matrix.os, 'windows') }}
51
51
run : |
52
- hatch run cov:test --cov-fail-under 50 || hatch run test:test --lf
52
+ hatch run cov:test --cov-fail-under 50
53
53
54
54
- name : Run the tests on pypy
55
55
timeout-minutes : 15
56
56
if : ${{ startsWith( matrix.python-version, 'pypy' ) }}
57
57
run : |
58
- hatch run test:nowarn || hatch run test:nowarn --lf
58
+ hatch run test:nowarn
59
59
60
60
- name : Run the tests on Windows
61
61
timeout-minutes : 15
62
62
if : ${{ startsWith(matrix.os, 'windows') }}
63
63
run : |
64
- hatch run cov:nowarn || hatch run test:nowarn --lf
64
+ hatch run cov:nowarn
65
65
66
66
- name : Check Launcher
67
67
run : |
@@ -144,7 +144,7 @@ jobs:
144
144
145
145
- name : Run the tests
146
146
timeout-minutes : 15
147
- run : pytest -W default -vv || pytest --vv -W default --lf
147
+ run : pytest -W default -vv
148
148
149
149
test_miniumum_versions :
150
150
name : Test Minimum Versions
@@ -164,7 +164,7 @@ jobs:
164
164
165
165
- name : Run the unit tests
166
166
run : |
167
- hatch -v run test:nowarn || hatch run test:nowarn --lf
167
+ hatch -v run test:nowarn
168
168
169
169
test_prereleases :
170
170
name : Test Prereleases
@@ -179,7 +179,7 @@ jobs:
179
179
dependency_type : pre
180
180
- name : Run the tests
181
181
run : |
182
- hatch run test:nowarn || hatch run test:nowarn --lf
182
+ hatch run test:nowarn
183
183
184
184
make_sdist :
185
185
name : Make SDist
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ version: 2
3
3
build :
4
4
os : ubuntu-22.04
5
5
tools :
6
- python : " 3.11 "
6
+ python : " 3.13 "
7
7
8
8
sphinx :
9
9
configuration : docs/conf.py
Original file line number Diff line number Diff line change @@ -98,12 +98,16 @@ def test_cocoa_loop(kernel):
98
98
loop_cocoa (kernel )
99
99
100
100
101
- @pytest .mark .skipif (
102
- len (qt_guis_avail ) == 0 , reason = "No viable version of PyQt or PySide installed."
103
- )
104
- def test_qt_enable_gui (kernel , capsys ):
105
- gui = qt_guis_avail [0 ]
106
-
101
+ @pytest .mark .parametrize ("gui" , qt_guis_avail )
102
+ def test_qt_enable_gui (gui , kernel , capsys ):
103
+ if os .getenv ("GITHUB_ACTIONS" , None ) == "true" and gui == "qt5" :
104
+ pytest .skip ("Qt5 and GitHub action crash CPython" )
105
+ if gui == "qt6" and sys .version_info < (3 , 10 ):
106
+ pytest .skip (
107
+ "qt6 fails on 3.9 with AttributeError: module 'PySide6.QtPrintSupport' has no attribute 'QApplication'"
108
+ )
109
+ if sys .platform == "linux" and gui == "qt6" and os .getenv ("GITHUB_ACTIONS" , None ) == "true" :
110
+ pytest .skip ("qt6 fails on github CI with missing libEGL.so.1" )
107
111
enable_gui (gui , kernel )
108
112
109
113
# We store the `QApplication` instance in the kernel.
You can’t perform that action at this time.
0 commit comments