Elixir build doesn't always enforce test env

When building for Elixir there are several mix tasks that are run prior to the test env being set and running. It would be preferable to set the MIX_ENV system variable earlier in the process so that all tasks run in the test environment

Could you elaborate on what these tasks are?

The default is found in