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

Add support for using environment variables in JVM tests #16455

Merged
merged 10 commits into from
Aug 10, 2022

Conversation

alonsodomin
Copy link
Contributor

Closes #16454

The implementation approach is based on the recommendations found in #15963 and, since this affects to several targets, similar as in #16387, where a base class for the field is created in core and then extended for each of the different target types.

The PR only addresses the JVM related target types even though the new base class field should be also used by other backends that have support for the same feature. i.e. Python, Go, Shell, etc. This has been left out for a follow up PR.

Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!!

docs/markdown/Java and Scala/jvm-overview.md Outdated Show resolved Hide resolved
docs/markdown/Java and Scala/kotlin.md Outdated Show resolved Hide resolved
src/python/pants/core/goals/test.py Outdated Show resolved Hide resolved
src/python/pants/core/goals/test.py Show resolved Hide resolved
src/python/pants/core/goals/test.py Outdated Show resolved Hide resolved
alonsodomin and others added 10 commits August 9, 2022 16:00
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
@alonsodomin alonsodomin merged commit 1ad8e45 into pantsbuild:main Aug 10, 2022
cczona pushed a commit to cczona/pants that referenced this pull request Sep 1, 2022
…16455)

The implementation approach is based on the recommendations found in pantsbuild#15963 and, since this affects to several targets, similar as in pantsbuild#16387, where a base class for the field is created in core and then extended for each of the different target types.
@huonw huonw mentioned this pull request Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add environment variable support for JVM test targets
2 participants