chore(ci): install all deps explicitly
This commit is contained in:
parent
0924937768
commit
294da43421
2 changed files with 11 additions and 2 deletions
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
|
|
@ -47,7 +47,11 @@ jobs:
|
|||
key: ${{ runner.os }}-tests-${{ hashFiles('${{ github.workspace }}/.tests') }}
|
||||
|
||||
- name: Install Go bins
|
||||
run: nvim --headless -u "./scripts/minimal_init.lua" -c "GoInstallDeps" -c "qa!"
|
||||
run: |
|
||||
go install github.com/fatih/gomodifytags@latest
|
||||
go install github.com/josharian/impl@latest
|
||||
go install github.com/cweill/gotests/...@latest
|
||||
go install github.com/koron/iferr@latest
|
||||
|
||||
- name: Run Tests
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -33,11 +33,16 @@ vim.env.XDG_CACHE_HOME = root ".tests/cache"
|
|||
vim.cmd [[set runtimepath=$VIMRUNTIME]]
|
||||
vim.opt.runtimepath:append(root())
|
||||
vim.opt.packpath = { root ".tests/site" }
|
||||
vim.notify = print
|
||||
vim.notify = vim.print
|
||||
|
||||
-- install go treesitter parse
|
||||
require("nvim-treesitter.install").ensure_installed_sync "go"
|
||||
|
||||
require("gopher").setup {
|
||||
log_level = vim.log.levels.OFF,
|
||||
timeout = 4000,
|
||||
}
|
||||
|
||||
-- setup mini.test only when running headless nvim
|
||||
if #vim.api.nvim_list_uis() == 0 then
|
||||
require("mini.test").setup {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue