[environments] Add helper function to list environment packages

This assumes that the environment are setup using conda.
1 job for list_environment_packages in 16 minutes and 15 seconds (queued for 8 seconds)
Status Name Job ID Coverage
  Build
passed build #132020
docker-build

00:16:15

80.0%