Open guess opened 2 weeks ago
Running inside Docker is tricky. See https://github.com/nvim-neotest/neotest/issues/89. Most of the issues mentioned there apply to the Elixir adapter as well.
You could overwrite the paths in post_process_command
. If everything works, we can add an option to specify the base path when configuring the adapter. Besides that, the formatter receives an env var with the path where it's going to write the output files. When running inside a container, those files would be in the container, so they would need to be mounted as well so that the Neovim side can read them.
Hi! I am trying to run my tests in a docker container, however I am getting these errors because it can't find the
formatter.ex
andjson_encoder.ex
in my container:Is there a way to override these paths somehow so I can mount the files and point to the new location in the container?
Here is how I am setting it up:
Or do you have a better recommendation for how to run these in docker instead?