mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
test: use isCI to simplify CI detection (#21134)
This commit is contained in:
parent
6e8ed5abaa
commit
cb27c09930
@ -22,6 +22,7 @@ local ok = helpers.ok
|
||||
local read_file = helpers.read_file
|
||||
local funcs = helpers.funcs
|
||||
local meths = helpers.meths
|
||||
local isCI = helpers.isCI
|
||||
|
||||
if helpers.skip(helpers.iswin()) then return end
|
||||
|
||||
@ -821,9 +822,8 @@ describe('TUI', function()
|
||||
end)
|
||||
|
||||
it('paste: terminal mode', function()
|
||||
if os.getenv('GITHUB_ACTIONS') ~= nil then
|
||||
if isCI('github') then
|
||||
pending("tty-test complains about not owning the terminal -- actions/runner#241")
|
||||
return
|
||||
end
|
||||
child_exec_lua('vim.o.statusline="^^^^^^^"')
|
||||
child_exec_lua('vim.cmd.terminal(...)', testprg('tty-test'))
|
||||
@ -1329,9 +1329,8 @@ describe('TUI', function()
|
||||
end)
|
||||
|
||||
it('forwards :term palette colors with termguicolors', function()
|
||||
if os.getenv('GITHUB_ACTIONS') ~= nil then
|
||||
if isCI('github') then
|
||||
pending("tty-test complains about not owning the terminal -- actions/runner#241")
|
||||
return
|
||||
end
|
||||
screen:set_rgb_cterm(true)
|
||||
screen:set_default_attr_ids({
|
||||
|
Loading…
Reference in New Issue
Block a user