Skip to content

Commit

Permalink
update tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Zybulon committed Sep 21, 2024
1 parent aa2090a commit fc8522b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions spyder_terminal/tests/test_terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
os.path.dirname(__file__)))
LOCATION_SLASH = LOCATION.replace('\\', '/')

TERM_UP = 80000
TERM_UP = 40000
WINDOWS = os.name == 'nt'

EXIT = 'exit'
Expand Down Expand Up @@ -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")
Expand Down Expand Up @@ -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
assert term1_zoom == new_zoom

0 comments on commit fc8522b

Please sign in to comment.