diff options
author | James McCoy <jamessan@jamessan.com> | 2022-02-03 17:11:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-03 17:11:18 -0500 |
commit | b667bb355d882fa3a801972c11038112d146a39f (patch) | |
tree | 7c2ac30d9f8c4e3c16d1baa92cff2d0749b1adf6 | |
parent | 59fa5f4ecfa1182956f6436d441beefae8071c46 (diff) | |
parent | 4fa8c66bc63851a3cbfbd4e53336c6afe3fda7e8 (diff) | |
download | rneovim-b667bb355d882fa3a801972c11038112d146a39f.tar.gz rneovim-b667bb355d882fa3a801972c11038112d146a39f.tar.bz2 rneovim-b667bb355d882fa3a801972c11038112d146a39f.zip |
Merge pull request #17283 from dundargoc/ci/reduce-log-output
ci: only show last 100 lines of log on error
-rw-r--r-- | test/helpers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helpers.lua b/test/helpers.lua index 87431e4342..522714c8be 100644 --- a/test/helpers.lua +++ b/test/helpers.lua @@ -815,7 +815,7 @@ end function module.read_nvim_log(logfile, ci_rename) logfile = logfile or os.getenv('NVIM_LOG_FILE') or '.nvimlog' local is_ci = module.isCI() - local keep = is_ci and 999 or 10 + local keep = is_ci and 100 or 10 local lines = module.read_file_list(logfile, -keep) or {} local log = (('-'):rep(78)..'\n' ..string.format('$NVIM_LOG_FILE: %s\n', logfile) |