-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Only run tests related to the component if possible #27807
Comments
This would be great. It would need to be intelligent enough to run any tests for dependent components. If we change something in |
IIRC we tried this once before and got hung up on dependency resolution, though I can't seem to find the related issues/PRs. I believe that pre-dated While I think it would be good to reduce the scope of PR test runs in this manner, we do need to ensure we're still running the full test suite on merge and probably on a subset of PRs. |
Definitely on any merge to main and any release prep PR |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
Component(s)
No response
Describe the issue you're reporting
The current approach to CI is monolithic and consists in running tests for all receivers, exporters, processors and so on even though most changes are going to apply to a specific component.
I propose that we organize CI to reduce the jobs running based on patterns of change, unless a label "Run all tests" is set. This would only apply to unit tests and leave integration tests, load tests and so forth untouched.
The text was updated successfully, but these errors were encountered: