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

GHA workflow to run (some) tests via pantsbuild #5848

Merged
merged 4 commits into from
Jan 3, 2023
Merged

Conversation

cognifloyd
Copy link
Member

@cognifloyd cognifloyd commented Dec 14, 2022

Background

This is another part of introducing pants, as discussed in various TSC meetings.

Related PRs can be found in:

Overview of this PR

This adds a Test GHA workflow that uses pants to run tests. Our test suite does not support running via pytest (which is what pants uses), so this workflow only runs tests on pylint_plugins/ and pants-plugins/. We can slowly expand this as we get more of our tests runnable under pytest.

The reason I'm doing this now: I want to add tests for plugins that will go in pants-plugins/, and I want to use pants to run those tests. pylint_plugins/ serves as a starting point to show that testing is doing something before we add those pants plugins and related tests.

#5849 was split off of this PR to make review easier. #5849 is required before this PR can be rebased and then merged.

@cognifloyd cognifloyd added this to the pants milestone Dec 14, 2022
@cognifloyd cognifloyd self-assigned this Dec 14, 2022
@pull-request-size pull-request-size bot added the size/L PR that changes 100-499 lines. Requires some effort to review. label Dec 14, 2022
@cognifloyd cognifloyd marked this pull request as ready for review December 29, 2022 07:50
@cognifloyd cognifloyd force-pushed the pants-ci-test branch 4 times, most recently from 9efc024 to 63f4ac6 Compare December 30, 2022 21:39
@cognifloyd cognifloyd requested a review from a team January 1, 2023 01:17
Copy link
Contributor

@amanda11 amanda11 left a comment

Choose a reason for hiding this comment

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

LGTM

@cognifloyd cognifloyd deleted the pants-ci-test branch January 3, 2023 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure: ci/cd pantsbuild size/L PR that changes 100-499 lines. Requires some effort to review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants