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

Bazel support: TEST_TOTAL_SHARDS / TEST_SHARD_INDEX / TEST_SHARD_STATUS_FILE #2491

Closed
jfirebaugh opened this issue Jul 27, 2022 · 0 comments
Closed
Labels
Feature Request Good First Issue Issues that can be undertaken by someone new to the project

Comments

@jfirebaugh
Copy link

jfirebaugh commented Jul 27, 2022

Description
Similarly to how Catch2 reads the BAZEL_TEST and XML_OUTPUT_FILE environment variables to support JUnit XML for Bazel, it should configure sharding based on the TEST_TOTAL_SHARDS and TEST_SHARD_INDEX environment variables, and indicate support for sharding by touching the file named in the TEST_SHARD_STATUS_FILE environment variable.

https://bazel.build/reference/test-encyclopedia#test-sharding

@horenmar horenmar added Feature Request Good First Issue Issues that can be undertaken by someone new to the project labels Jul 29, 2022
horenmar added a commit that referenced this issue Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Good First Issue Issues that can be undertaken by someone new to the project
Projects
None yet
Development

No branches or pull requests

2 participants