-
-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to fix CI, change perfmon test strategy (#3167)
* tick * simplify * push comment * trygithub xvfb * split backends * less tests * just utils * hide action * move sys info * comment * ignore qt * just qt no threading * remove qt notifications * remove progress * narrow to just tests * just dialogs * just layercontrols * tick * just perf * whoops, just perf * just widgets * add back tests * back to full * tests and widgets * tests widgets perf * add containers * remove containers again * full qt again * comment perf * add back perf * update perftest * restore conftest * restore progress * restore notifications * restore threading * restore threading progress * codecov relax * restore test configs * update comment * show viewer * use xvfb action * use xvfb action more
- Loading branch information
1 parent
ab2ddcd
commit 2381c71
Showing
10 changed files
with
78 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from napari.utils.info import sys_info | ||
|
||
|
||
# vispy use_app tries to start Qt, which can cause segfaults when running | ||
# sys_info on CI unless we provide a pytest Qt app | ||
def test_sys_info(qapp): | ||
str_info = sys_info() | ||
assert isinstance(str_info, str) | ||
assert '<br>' not in str_info | ||
assert '<b>' not in str_info | ||
assert "Plugins" in str_info | ||
|
||
html_info = sys_info(as_html=True) | ||
assert isinstance(html_info, str) | ||
assert '<br>' in html_info | ||
assert '<b>' in html_info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters