You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My test environment requires certain env vars to be set that are different from my neovim env. While the pytest runner allows me to pass --envfile to pytest, it is doesn't load the vars early enough (I need the env to be loaded in prior to loading project modules, not just the tests), so I need another way to set the env for the test process.
nvim.loop.spawn takes an env argument that allows you to pass environment variables. It would be helpful if env could be passed in via a configuration var at at this point.
My test environment requires certain env vars to be set that are different from my neovim env. While the pytest runner allows me to pass
--envfile
to pytest, it is doesn't load the vars early enough (I need the env to be loaded in prior to loading project modules, not just the tests), so I need another way to set the env for the test process.nvim.loop.spawn
takes anenv
argument that allows you to pass environment variables. It would be helpful ifenv
could be passed in via a configuration var at at this point.For example:
The text was updated successfully, but these errors were encountered: