P3help wantednot staleteam-Coretype: feature request
Repository metrics
- Stars
- (25,384 stars)
- PR merge metrics
- (Avg merge 22d 20h) (77 merged PRs in 30d)
Description
Currently, you can pass environment variables one at a time with --test_env. It would be nice to be able to pass an entire file of env variables to bazel test with something like:
bazel test --test_env_file=.env //...
env are becoming semi-standard, and lots of tools understand how to read them. For example:
docker run --env-fileforeman --env- https://github.com/bkeepers/dotenv
This improvement would allow people to use their existing env files with bazel.