diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d72dfc7d..91e6ece6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -36,7 +36,7 @@ jobs: - 'stable' # v0.9.5 - 'nightly' kitty_version: - - 'stable' # 0.31.0 + - 'stable' # 0.32.0 - 'nightly' include: - nvim_version: 'v0.9.0' @@ -58,6 +58,8 @@ jobs: kitty_version: '0.30.0' - nvim_version: 'stable' kitty_version: '0.30.1' + - nvim_version: 'stable' + kitty_version: '0.31.0' fail-fast: false runs-on: ubuntu-22.04 steps: diff --git a/tests/kitty-scrollback/helpers.lua b/tests/kitty-scrollback/helpers.lua index 86d6997a..16cf080e 100644 --- a/tests/kitty-scrollback/helpers.lua +++ b/tests/kitty-scrollback/helpers.lua @@ -559,6 +559,14 @@ M.wait_for_kitty_remote_connection = function(timeout, interval) return ready end, interval) + -- additional logging to track down issues with flaky tests + if not ready then + local current_debug_enabled = M.debug_enabled + M.debug_enabled = true + ready = (M.debug(M.kitty_remote_ls():wait()).code == 0) + M.debug_enabled = current_debug_enabled + end + assert.is_true(ready, 'kitty is not ready for remote connections, exiting') M.pause_seconds() end