Skip to content

Conversation

@cognifloyd
Copy link
Member

This has a couple of commits extracted from #6202 where I'm working on getting all of our unit tests to run under pants+pytest.

1 test relied on tests_config.parse_args() happening when nose imported or ran earlier tests (similar to changes in #6241).

For the other test, pants does not copy BUILD files into the sandbox, so we need to completely ignore the BUILD files when they exist (ie when running nosetest or pytest directly instead of letting pants run it in a sandbox).

Plus there are a few file dep changes in BUILD metadata to support these.

@cognifloyd cognifloyd added this to the pants milestone Sep 26, 2024
@cognifloyd cognifloyd self-assigned this Sep 26, 2024
@pull-request-size pull-request-size bot added the size/M PR that changes 30-99 lines. Good size to review. label Sep 26, 2024
@cognifloyd cognifloyd merged commit 91dd119 into master Sep 26, 2024
@cognifloyd cognifloyd deleted the pants-test-updates branch September 26, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure: ci/cd pantsbuild size/M PR that changes 30-99 lines. Good size to review. tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants