Skip to content
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

feature request: allow specifying environment variables #23

Open
Trevoke opened this issue Feb 21, 2025 · 3 comments
Open

feature request: allow specifying environment variables #23

Trevoke opened this issue Feb 21, 2025 · 3 comments

Comments

@Trevoke
Copy link

Trevoke commented Feb 21, 2025

Hi, thanks for this package!

I'm working on a project now that has some testing behavior managed by environment variables, and it would be nice to be able to manage this as state through the transient menu.

Thanks!

@ananthakumaran
Copy link
Owner

some testing behavior managed by environment variables

Are these ExUnit flags or application specific?

We already have some flags under different level[1], so transient won't show them by default. I am ok adding it under a higher level (5 or higher perhaps)

1: https://www.gnu.org/software/emacs/manual/html_mono/transient.html#Enabling-and-Disabling-Suffixes

@Trevoke
Copy link
Author

Trevoke commented Feb 22, 2025

Application-specific. Things to prepend to the mix test call.

Examples:

  • CI=true mix test (CI)
  • LOG_LEVEL=5 mix test (LOG_LEVEL)
  • DYLIB_PATH=/home/foo/bar/lib CLANG_PATH=/usr/bin2/cc mix test (DYLIB_PATH and CLANG_PATH)

@Trevoke
Copy link
Author

Trevoke commented Feb 28, 2025

Further - I see (and it makes sense) that we have different mix commands for testing and debugging... But I would like to be able to apply dynamically those ENV variables to both without having to change two variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants