Skip to content

refactor(tests): create conftest py_library target#3947

Merged
rickeylev merged 3 commits into
bazel-contrib:mainfrom
rickeylev:refactor-conftest-py-library
Jul 23, 2026
Merged

refactor(tests): create conftest py_library target#3947
rickeylev merged 3 commits into
bazel-contrib:mainfrom
rickeylev:refactor-conftest-py-library

Conversation

@rickeylev

Copy link
Copy Markdown
Collaborator

Refactor test/tools/private/release tests such that conftest.py is its own py_library target, and add it as a dependency to targets that directly need it.

Split conftest.py into its own py_library target under tests/tools/private/release. Add :conftest as a dependency to all pytest_test targets in tests/tools/private/release/BUILD.bazel.
@rickeylev
rickeylev requested a review from aignas as a code owner July 23, 2026 02:38
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

# Conflicts:
#	tests/tools/private/release/BUILD.bazel
@rickeylev
rickeylev enabled auto-merge July 23, 2026 02:59
Set testonly = True on the conftest py_library target in tests/tools/private/release/BUILD.bazel.
@rickeylev
rickeylev added this pull request to the merge queue Jul 23, 2026
Merged via the queue into bazel-contrib:main with commit 4f231ac Jul 23, 2026
6 checks passed
@rickeylev
rickeylev deleted the refactor-conftest-py-library branch July 23, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants