mirror of
https://github.com/pyapp-kit/superqt.git
synced 2026-01-04 11:21:09 +01:00
reskip test_object_thread_return on ci (#43)
* skip on ci * remove print * 4 min timeout * 3 min
This commit is contained in:
2
.github/workflows/test_and_deploy.yml
vendored
2
.github/workflows/test_and_deploy.yml
vendored
@@ -114,7 +114,7 @@ jobs:
|
||||
|
||||
- name: Test with tox
|
||||
uses: GabrielBB/xvfb-action@v1
|
||||
timeout-minutes: 2
|
||||
timeout-minutes: 3
|
||||
with:
|
||||
run: tox
|
||||
env:
|
||||
|
||||
@@ -126,7 +126,6 @@ def test_only_main_thread(qapp):
|
||||
|
||||
|
||||
def test_main_thread(qtbot):
|
||||
print("test_main_thread start")
|
||||
ob = SampleObject()
|
||||
t = LocalThread(ob)
|
||||
with qtbot.waitSignal(t.finished):
|
||||
@@ -134,7 +133,6 @@ def test_main_thread(qtbot):
|
||||
|
||||
assert ob.main_thread_res == {"a": 5, "b": 8}
|
||||
assert ob.sample_main_thread_property == "text2"
|
||||
print("test_main_thread done")
|
||||
|
||||
|
||||
def test_main_thread_return(qtbot):
|
||||
@@ -165,7 +163,7 @@ def test_names(qapp):
|
||||
assert ob.check_main_thread_return.__name__ == "check_main_thread_return"
|
||||
|
||||
|
||||
# @skip_on_ci
|
||||
@skip_on_ci
|
||||
def test_object_thread_return(qtbot):
|
||||
ob = SampleObject()
|
||||
thread = QThread()
|
||||
@@ -177,7 +175,7 @@ def test_object_thread_return(qtbot):
|
||||
thread.quit()
|
||||
|
||||
|
||||
# @skip_on_ci
|
||||
@skip_on_ci
|
||||
def test_object_thread_return_timeout(qtbot):
|
||||
ob = SampleObject()
|
||||
thread = QThread()
|
||||
|
||||
Reference in New Issue
Block a user