Thanks. I honestly had no idea that worked after god knows how long using Julia now. I can't help but feel it should be better documented! Presumably it means that I don't know without putting stuff in CI on github whether I've actually put the right dependencies into a new environment though if Julia automatically pulls things that I have in my global environment into any local environment? Is there anyway of switching it off?
JULIA_LOAD_PATH="@" julia --project -e 'import Pkg; Pkg.test()'
Thanks!
Richard Reeve has marked this topic as resolved.
Just tested it, on my computer when I run pkg> test
, it does not use packages from the default environment (thank God!)
Last updated: Oct 02 2023 at 04:34 UTC