mirror of https://github.com/folke/lazy.nvim.git
ci: new templates
This commit is contained in:
parent
dea43afc4a
commit
886a91c688
|
@ -12,11 +12,11 @@ body:
|
|||
label: Did you check docs and existing issues?
|
||||
description: Make sure you checked all of the below before submitting an issue
|
||||
options:
|
||||
- label: I have read all the lazy docs
|
||||
- label: I have read all the lazy.nvim docs
|
||||
required: true
|
||||
- label: I have searched the existing issues of lazy
|
||||
- label: I have searched the existing issues of lazy.nvim
|
||||
required: true
|
||||
- label: I have searched the exsiting issues of the plugin I have a problem with
|
||||
- label: I have searched the exsiting issues of plugins related to this issue
|
||||
required: true
|
||||
- type: input
|
||||
attributes:
|
||||
|
@ -68,14 +68,7 @@ body:
|
|||
-- bootstrap lazy
|
||||
local lazypath = root .. "/plugins/lazy.nvim"
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"--single-branch",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
lazypath,
|
||||
})
|
||||
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
|
||||
end
|
||||
vim.opt.runtimepath:prepend(lazypath)
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ body:
|
|||
label: Did you check the docs?
|
||||
description: Make sure you read all the docs before submitting a feature request
|
||||
options:
|
||||
- label: I have read all the lazy docs
|
||||
- label: I have read all the lazy.nvim docs
|
||||
required: true
|
||||
- type: textarea
|
||||
validations:
|
||||
|
|
|
@ -15,17 +15,13 @@ jobs:
|
|||
- name: Install Neovim
|
||||
shell: bash
|
||||
run: |
|
||||
if [ "$RUNNER_OS" == "Linux" ]; then
|
||||
wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.deb -O /tmp/nvim.deb
|
||||
sudo dpkg -i /tmp/nvim.deb
|
||||
else
|
||||
choco install neovim --pre
|
||||
echo "C:/tools/neovim/nvim-win64/bin" >> $GITHUB_PATH
|
||||
fi
|
||||
- name: Run Tests
|
||||
run: |
|
||||
nvim --version
|
||||
nvim --headless -u tests/init.lua -c "PlenaryBustedDirectory tests// {minimal_init = 'tests//init.lua', sequential = true}"
|
||||
[ ! -d tests ] && exit 0
|
||||
nvim --headless -u tests/init.lua -c "PlenaryBustedDirectory tests/ {minimal_init = 'tests/init.lua', sequential = true}"
|
||||
docs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: tests
|
||||
|
|
Loading…
Reference in New Issue