-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use environment variables in tox.ini #1098
Comments
Hey bewds, just looking through old issues. Seems like this would be a quick one? @richaagarwal @willbarton @chosak |
Sorry for neglecting this one. Yes, you can totally do that. |
Updated example is https://github.com/cfpb/consumerfinance.gov/blob/main/tox.ini#L86 ( |
@anselmbradford can this ancient issue be closed? The list of environment variables that tox passes in can be found here. |
I'm not sure. My original inquiry was about why we duplicated the variable and value of, for example, Is there a reason we'd create those envvars in |
@anselmbradford we don't always have a As it happens though, and somewhat surprisingly to me, none of our Python tests actually make use of the value of either |
For example, can https://github.com/cfpb/consumerfinance.gov/blob/main/tox.ini#L87 use https://github.com/cfpb/consumerfinance.gov/blob/main/.env_SAMPLE#L66 ? For that and the other settings that appear in the environment (
ES_PORT
andES_HOST
).The text was updated successfully, but these errors were encountered: