Skip to content

Conversation

@bveeramani
Copy link
Member

Our CI uses Bazel to run Python tests (not pytest). If we don't call pytest.main in a test module, the tests aren't actually run.

#58816 fixed this issue for test_hash_shuffle. As a follow up, this PR removes the test_hash_shuffle from the list of files excluded from the pytest.main lint.

Signed-off-by: Balaji Veeramani <[email protected]>
@bveeramani bveeramani changed the title [Data] [Data] Remove test_hash_shuffle from excluded missing-pytest-main lint Dec 8, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes python/ray/data/tests/test_hash_shuffle.py from the exclusion list for the missing-pytest-main semgrep rule. This is a follow-up to a previous change that added the necessary pytest.main call to the test file, ensuring it runs correctly in CI. The change is correct and aligns with the description. I have no further feedback.

@bveeramani bveeramani enabled auto-merge (squash) December 8, 2025 03:27
@github-actions github-actions bot added the go add ONLY when ready to merge, run all tests label Dec 8, 2025
@bveeramani bveeramani merged commit a5cad87 into master Dec 8, 2025
7 checks passed
@bveeramani bveeramani deleted the remove-excluded-lint branch December 8, 2025 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants