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

feat: Allow environment variables in run configurations #5885

Merged
merged 8 commits into from
Jan 29, 2024

Commits on Dec 20, 2023

  1. feat: Allow environment variables in run configurations

    Allow users to set their own env vars per run-configuration.
    It is not respected everywhere (see the list below), but it works on our example projects.
    
    Main features:
    - Env vars should work when **run**ing and **debug**ging any binary.
    - Env vars should work when **run**ning any test.
    - Env vars should work when **debug**ging Go and Java tests. Env vars for C++ test debugging are implemented internally, but they're part of a larger patch and I'll need some more work to untangle that.
    Borja Lorente committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    c423d0d View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Optionally pass the parent environment as well

    Borja Lorente committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    60b3dc1 View commit details
    Browse the repository at this point in the history
  2. Add test case for env vars in Go

    Borja Lorente committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    8daa6b5 View commit details
    Browse the repository at this point in the history
  3. Pass env vars to go debug configurations correctly

    Borja Lorente committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    ecdd95c View commit details
    Browse the repository at this point in the history
  4. Address comments

    Borja Lorente committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    0968003 View commit details
    Browse the repository at this point in the history
  5. Remove unused import

    Borja Lorente committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    b139378 View commit details
    Browse the repository at this point in the history
  6. Add unit tests

    Borja Lorente committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    01a8224 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. Address comments

    Borja Lorente committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    158cf4f View commit details
    Browse the repository at this point in the history