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

Re-write flag values to place generated files in undeclared outputs dir #7

Merged
merged 1 commit into from
Aug 7, 2023

Commits on Aug 5, 2023

  1. Re-write flag values to place generated files in undeclared outputs dir

    Some common pytest plugins, such as pytest-reportlog, pytest-json-report and pytest-html, allow the user to generate reports, accepting a file path as a flag. In Bazel, these generated files can only be accessed if placed inside the test undeclared outputs dir. However, bazel doesn't provide any way to expand environment variable values provided in args.
    
    This commit rewrites flag values for the plugins mentioned above, prepend the test undeclared output dir folder to the value of the corresponding flags.
    amartani committed Aug 5, 2023
    Configuration menu
    Copy the full SHA
    d658a7b View commit details
    Browse the repository at this point in the history