mirror of
https://github.com/nvim-treesitter/nvim-treesitter-context
synced 2024-09-16 14:14:03 +02:00
ci: fix
This commit is contained in:
parent
8f408ec86a
commit
1ba826c1a3
3 changed files with 6 additions and 15 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -24,6 +24,7 @@ jobs:
|
|||
|
||||
env:
|
||||
NEOVIM_VERSION: ${{ matrix.neovim_version }}
|
||||
IS_CI: 1
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
|
@ -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')()
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue