diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 106a03ba..9dd06cd8 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -55,7 +55,7 @@ jobs: run: python setup.py build_static - name: Run tests shell: bash -l {0} - run: python runtests.py + run: python runtests.py || python runtests.py || python runtests.py - name: Coverage shell: bash -l {0} run: codecov \ No newline at end of file diff --git a/spyder_terminal/tests/test_terminal.py b/spyder_terminal/tests/test_terminal.py index 710a43cd..0beba3fe 100644 --- a/spyder_terminal/tests/test_terminal.py +++ b/spyder_terminal/tests/test_terminal.py @@ -29,7 +29,7 @@ os.path.dirname(__file__))) LOCATION_SLASH = LOCATION.replace('\\', '/') -TERM_UP = 80000 +TERM_UP = 40000 WINDOWS = os.name == 'nt' EXIT = 'exit' @@ -173,7 +173,7 @@ def teardown(): return terminal -@flaky(max_runs=50) +@flaky(max_runs=5) @pytest.mark.skipif((os.environ.get('CI') and sys.platform.startswith('linux')), reason="Doesn't work on Linux CIs") @@ -457,4 +457,4 @@ def test_zoom_new_term(setup_terminal, qtbot_module): term = terminal.get_widget().get_current_term() new_zoom = term.get_conf("zoom") - assert term1_zoom == new_zoom \ No newline at end of file + assert term1_zoom == new_zoom