Skip to content

Commit

Permalink
fixup: rename ci.ci to ci.any
Browse files Browse the repository at this point in the history
  • Loading branch information
dundargoc committed Nov 11, 2022
1 parent f953951 commit e765a8e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/functional/api/server_notifications_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe('notify', function()
end)

it('cancels stale events on channel close', function()
if is.ci.ci then
if is.ci.any then
pending('hangs on CI #14083 #15251')
return
elseif helpers.skip_fragile(pending) then
Expand Down
2 changes: 1 addition & 1 deletion test/functional/api/vim_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2323,7 +2323,7 @@ describe('API', function()
end)

local it_maybe_pending = it
if helpers.is.ci.ci and os.getenv('CONFIGURATION') == 'MSVC_32' then
if helpers.is.ci.any and os.getenv('CONFIGURATION') == 'MSVC_32' then
-- For "works with &opt" (flaky on MSVC_32), but not easy to skip alone. #10241
it_maybe_pending = pending
end
Expand Down
2 changes: 1 addition & 1 deletion test/functional/helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ function module.alter_slashes(obj)
end

local load_factor = 1
if global_helpers.is.ci.ci then
if global_helpers.is.ci.any then
-- Compute load factor only once (but outside of any tests).
module.clear()
module.request('nvim_command', 'source src/nvim/testdir/load.vim')
Expand Down
2 changes: 1 addition & 1 deletion test/functional/plugin/lsp_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ describe('LSP', function()
end)

it('should succeed with manual shutdown', function()
if is.ci.ci then
if is.ci.any then
pending('hangs the build on CI #14028, re-enable with freeze timeout #14204')
return
elseif helpers.skip_fragile(pending) then
Expand Down
2 changes: 1 addition & 1 deletion test/functional/ui/messages_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1507,7 +1507,7 @@ describe('ui/msg_puts_printf', function()
if (exc_exec('lang ja_JP.UTF-8') ~= 0) then
pending('Locale ja_JP.UTF-8 not supported', function() end)
return
elseif is.ci.ci then
elseif is.ci.any then
-- Fails non--Windows CI. Message catalog directory issue?
pending('fails on unix CI', function() end)
return
Expand Down
2 changes: 1 addition & 1 deletion test/helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ module.is = {
ci = {
cirrus = isCI('cirrus'),
github = isCI('github'),
ci = isCI()
any = isCI()
}
}

Expand Down

0 comments on commit e765a8e

Please sign in to comment.