We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca22a05 commit 9c208b8Copy full SHA for 9c208b8
scripts/minit.lua
@@ -4,9 +4,15 @@ vim.env.LAZY_STDPATH = ".tests"
4
5
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
6
7
+-- Check if running in GitHub Actions
8
+local is_ci = vim.env.GITHUB_ACTIONS ~= nil
9
+
10
+local assistant_spec = is_ci and { "A7Lavinraj/assistant.nvim" } -- Use GitHub repo in CI
11
+ or { dir = "~/workspace/development/assistant.nvim" } -- Use local path for development
12
13
require("lazy.minit").setup({
14
spec = {
- { dir = "~/workspace/development/assistant.nvim" },
15
+ assistant_spec,
16
{ "echasnovski/mini.test", lazy = false },
17
},
18
})
0 commit comments