Open
Description
Currently mill's integration tests do not get all of the environment variables from the parent process.
This leads to MY_ENV_VAR=foo ./mill integration.feature[foo].local.nodaemon.testForked
to not have access to MY_ENV_VAR
, unless explicitly exposed via forkEnv
.
Lines 51 to 63 in 4540af4
This first reared it's head in #5292 and now again in #5425.
This can lead to subtle bugs. For example, I'm not sure the CI
flag is ever actually passed to the test here:
I suggest forwarding all env variables, as we currently do with MILL_TESTS_BSP_UPDATE_SNAPSHOTS
. Is there any downside to that?
Metadata
Metadata
Assignees
Labels
No labels