This commit is contained in:
Lewis Russell 2024-07-02 13:46:01 +01:00
parent 8f408ec86a
commit 1ba826c1a3
3 changed files with 6 additions and 15 deletions

View file

@ -24,6 +24,7 @@ jobs:
env:
NEOVIM_VERSION: ${{ matrix.neovim_version }}
IS_CI: 1
steps:
- name: Checkout

View file

@ -1,15 +0,0 @@
-- Modules loaded here will not be cleared and reloaded by Busted.
-- Busted started doing this to help provide more isolation.
local global_helpers = require('test.helpers')
-- Bypoass CI behaviour logic
global_helpers.isCI = function(_)
return false
end
-- v0.9
global_helpers.is_ci = function()
return false
end
local helpers = require('test.functional.helpers')()

View file

@ -7,6 +7,11 @@ local cmd = helpers.api.nvim_command
local feed = helpers.feed
local function install_langs(langs)
-- Shouldn't need to do this, but CI seems to hang on some languages
if os.getenv('IS_CI') then
return
end
if type(langs) == 'string' then
langs = {langs}
end